
/*
Theme Name: AutoMarkt24
Theme URI: https://automark24.de
Author: AutoMarkt24
Description: Premium German automotive marketplace theme.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: automark24
*/

:root {
    --am-navy: #071A33;
    --am-blue: #123B68;
    --am-gold: #D6A84B;
    --am-light: #F4F6F9;
    --am-white: #FFFFFF;
    --am-text: #172338;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--am-light);
    color: var(--am-text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}


/*
Theme Name: AutoMarkt24
Theme URI: https://automark24.de
Author: AutoMarkt24
Description: Premium German automotive marketplace.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: automark24
*/

:root {
    --am-navy: #071A33;
    --am-blue: #123B68;
    --am-gold: #D6A84B;
    --am-light: #F4F6F9;
    --am-white: #FFFFFF;
    --am-text: #172338;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--am-light);
    color: var(--am-text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.am-container {
    width: min(1240px, 92%);
    margin: auto;
}

/* TOPBAR */

.am-topbar {
    background: var(--am-navy);
    color: #dce5f0;
    font-size: 12px;
    padding: 10px 0;
}

.am-topbar .am-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* HEADER */

.am-header {
    background: #fff;
    border-bottom: 1px solid #e8ebf0;
    position: relative;
    z-index: 100;
}

.am-header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.am-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.am-brand-icon {
    width: 48px;
    height: 48px;
    background: var(--am-navy);
    color: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 21px;
    font-weight: 900;
    border-bottom: 3px solid var(--am-gold);
}

.am-brand-icon span {
    color: var(--am-gold);
}

.am-brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--am-navy);
}

.am-brand-name strong {
    color: var(--am-gold);
}

.am-brand-name small {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 3px;
    color: #778397;
}

.am-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.am-menu a {
    font-size: 13px;
    font-weight: 700;
}

.am-menu a:hover {
    color: var(--am-gold);
}

.am-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.am-account {
    font-size: 13px;
    font-weight: 700;
}

.am-sell-button {
    padding: 13px 17px;
    background: var(--am-gold);
    color: var(--am-navy);
    font-weight: 800;
    font-size: 12px;
    border-radius: 5px;
}

.am-mobile-toggle {
    display: none;
    border: 0;
    background: var(--am-navy);
    color: white;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 21px;
    cursor: pointer;
}

/* MAIN */

.am-main {
    min-height: 400px;
}

/* FOOTER */

.am-footer {
    background: var(--am-navy);
    color: white;
    padding-top: 55px;
    margin-top: 60px;
}

.am-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
}

.am-footer h2 {
    font-size: 27px;
}

.am-footer h2 span {
    color: var(--am-gold);
}

.am-footer h3 {
    font-size: 15px;
    color: var(--am-gold);
}

.am-footer p {
    color: #bac5d3;
    line-height: 1.8;
    font-size: 13px;
}

.am-footer-grid > div:not(:first-child) a {
    display: block;
    color: #bac5d3;
    font-size: 13px;
    margin: 13px 0;
}

.am-footer a:hover {
    color: var(--am-gold);
}

.am-footer-bottom {
    border-top: 1px solid #24364d;
    padding: 20px 0;
    font-size: 12px;
    color: #bac5d3;
}

/* RESPONSIVE */

@media(max-width: 1050px) {
    .am-menu {
        gap: 12px;
    }

    .am-header-inner {
        gap: 12px;
    }

    .am-sell-button {
        padding: 11px;
    }
}

@media(max-width: 850px) {
    .am-mobile-toggle {
        display: block;
    }

    .am-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px #0001;
    }

    .am-navigation.active {
        display: block;
    }

    .am-menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .am-header-actions {
        display: none;
    }

    .am-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 500px) {
    .am-topbar .am-container {
        flex-direction: column;
    }

    .am-footer-grid {
        grid-template-columns: 1fr;
    }

    .am-brand-name {
        font-size: 17px;
    }
}

/* =========================================
   AUTOMARKT24 - HOMEPAGE DESIGN
========================================= */

.am-hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, #071A33 0%, #071A33 48%, rgba(7,26,51,.82) 100%),
        url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2000&q=85')
        center 55% / cover no-repeat;
    color: #fff;
}

.am-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7,26,51,.98),
        rgba(7,26,51,.80) 55%,
        rgba(7,26,51,.30)
    );
}

.am-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 65px;
    padding-bottom: 65px;
}

.am-hero-label,
.am-eyebrow {
    display: inline-block;
    color: #b98a34;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.am-hero-label {
    color: var(--am-gold);
}

.am-hero h1 {
    max-width: 680px;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 0 0 22px;
    color: white;
}

.am-hero h1 span {
    color: var(--am-gold);
    display: block;
}

.am-hero-content > p {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.8;
    color: #d4deeb;
    margin-bottom: 30px;
}

.am-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.am-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 49px;
    padding: 0 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.am-btn-gold {
    background: var(--am-gold);
    color: var(--am-navy);
}

.am-btn-gold:hover {
    background: #e9bf69;
    color: var(--am-navy);
    transform: translateY(-2px);
}

.am-btn-outline {
    border: 1px solid rgba(255,255,255,.5);
    color: white;
}

.am-btn-outline:hover {
    background: white;
    color: var(--am-navy);
}

.am-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 55px;
    margin-top: 55px;
}

.am-hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.am-hero-stats strong {
    font-size: 19px;
    color: var(--am-gold);
}

.am-hero-stats span {
    color: #d4deeb;
    font-size: 11px;
}

/* SEARCH */

.am-search-section {
    position: relative;
    z-index: 5;
    margin-top: -45px;
}

.am-search-box {
    background: white;
    border-radius: 9px;
    padding: 27px;
    box-shadow: 0 15px 45px rgba(7,26,51,.13);
}

.am-search-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.am-search-heading > div > span {
    color: #b98a34;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.am-search-heading h2 {
    color: var(--am-navy);
    margin: 5px 0 0;
    font-size: 22px;
}

.am-search-icon {
    font-size: 35px;
    color: var(--am-gold);
}

.am-search-form {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr 1fr 1fr auto;
    align-items: end;
    gap: 13px;
}

.am-search-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.am-search-field label {
    font-size: 12px;
    font-weight: 700;
    color: var(--am-navy);
}

.am-search-field input,
.am-search-field select {
    width: 100%;
    height: 47px;
    border: 1px solid #e1e6ed;
    border-radius: 5px;
    background: #fafbfd;
    color: #26364b;
    padding: 0 12px;
    font-size: 12px;
    outline: none;
}

.am-search-field input:focus,
.am-search-field select:focus {
    border-color: var(--am-gold);
}

.am-search-button {
    height: 47px;
    padding: 0 22px;
    background: var(--am-navy);
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.am-search-button:hover {
    background: var(--am-blue);
}

/* GENERAL SECTIONS */

.am-section {
    padding: 85px 0;
}

.am-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 32px;
}

.am-section-heading h2 {
    font-size: clamp(25px, 3vw, 34px);
    color: var(--am-navy);
    margin: 0 0 10px;
    letter-spacing: -.7px;
}

.am-section-heading p {
    color: #758196;
    font-size: 13px;
    margin: 0;
}

.am-text-link {
    color: var(--am-blue);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.am-text-link:hover {
    color: #b98a34;
}

/* CATEGORIES */

.am-categories-section {
    padding-top: 80px;
    padding-bottom: 45px;
}

.am-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.am-category-card {
    min-height: 155px;
    padding: 23px;
    background: white;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: .25s ease;
}

.am-category-card:hover {
    border-color: var(--am-gold);
    box-shadow: 0 12px 30px rgba(7,26,51,.08);
    transform: translateY(-5px);
}

.am-category-icon {
    font-size: 29px;
}

.am-category-card h3 {
    font-size: 17px;
    color: var(--am-navy);
    margin: 14px 0 5px;
}

.am-category-card p {
    font-size: 11px;
    color: #788497;
    margin: 0;
    line-height: 1.6;
}

.am-category-arrow {
    align-self: flex-end;
    color: #b98a34;
    font-size: 19px;
}

/* PRODUCTS */

.am-latest-section {
    background: white;
}

.am-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.am-product-card {
    background: white;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    overflow: hidden;
    transition: .25s ease;
}

.am-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(7,26,51,.10);
}

.am-product-image {
    position: relative;
    display: block;
    height: 205px;
    background: #eef1f5;
    overflow: hidden;
}

.am-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.am-product-card:hover .am-product-image img {
    transform: scale(1.05);
}

.am-sale-badge,
.am-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: var(--am-gold);
    color: var(--am-navy);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
}

.am-stock-badge {
    background: #9c3434;
    color: white;
}

.am-product-info {
    padding: 17px;
}

.am-product-category {
    font-size: 10px;
    color: #a27a31;
    text-transform: uppercase;
    font-weight: 800;
}

.am-product-info h3 {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
    min-height: 42px;
}

.am-product-info h3 a {
    color: var(--am-navy);
}

.am-product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--am-blue);
    margin: 15px 0;
}

.am-product-price del {
    color: #929ba8;
    font-size: 12px;
}

.am-product-price ins {
    text-decoration: none;
}

.am-product-link {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #edf0f4;
    padding-top: 13px;
    font-size: 11px;
    font-weight: 800;
    color: var(--am-navy);
}

.am-product-link span {
    color: #b98a34;
    font-size: 17px;
}

.am-empty {
    background: white;
    border: 1px dashed #d6dce5;
    border-radius: 8px;
    padding: 45px 20px;
    text-align: center;
    grid-column: 1 / -1;
}

.am-empty span {
    font-size: 35px;
}

.am-empty h3 {
    color: var(--am-navy);
}

.am-empty p {
    color: #788497;
    font-size: 13px;
}

/* SELLER */

.am-seller-section {
    padding: 70px 0;
    background: #f4f6f9;
}

.am-seller-box {
    background: var(--am-navy);
    border-radius: 12px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    color: white;
}

.am-eyebrow-gold {
    color: var(--am-gold);
}

.am-seller-content h2 {
    color: white;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
    margin: 0 0 18px;
}

.am-seller-content p {
    color: #c6d1df;
    line-height: 1.8;
    font-size: 13px;
    max-width: 520px;
    margin-bottom: 25px;
}

.am-seller-visual {
    min-height: 210px;
    border: 1px solid rgba(214,168,75,.4);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #123B68, #071A33);
}

.am-seller-visual span {
    font-size: 48px;
    color: var(--am-gold);
    font-weight: 900;
    margin-bottom: 15px;
}

.am-seller-visual strong {
    font-size: 21px;
    color: white;
}

.am-seller-visual small {
    color: #b9c7d8;
    margin-top: 15px;
}

/* AUCTIONS */

.am-auction-section {
    background: white;
}

.am-auction-section .am-product-card {
    background: #fafbfd;
}

/* TRUST */

.am-trust-section {
    padding: 55px 0;
    background: #eef1f5;
}

.am-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.am-trust-grid > div {
    text-align: center;
    padding: 15px;
}

.am-trust-grid > div > span {
    font-size: 26px;
    color: #b98a34;
}

.am-trust-grid h3 {
    font-size: 14px;
    color: var(--am-navy);
}

.am-trust-grid p {
    color: #788497;
    font-size: 11px;
    line-height: 1.7;
}

/* RESPONSIVE */

@media(max-width: 1000px) {
    .am-search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .am-search-button {
        width: 100%;
    }

    .am-category-grid,
    .am-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 650px) {
    .am-hero {
        min-height: 530px;
        background-position: 65% center;
    }

    .am-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .am-hero-content > p {
        font-size: 13px;
    }

    .am-hero-stats {
        gap: 20px;
        margin-top: 35px;
    }

    .am-hero-stats strong {
        font-size: 15px;
    }

    .am-hero-stats span {
        font-size: 10px;
    }

    .am-search-box {
        padding: 20px;
    }

    .am-search-form {
        grid-template-columns: 1fr;
    }

    .am-section {
        padding: 55px 0;
    }

    .am-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .am-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .am-category-card {
        min-height: 150px;
        padding: 15px;
    }

    .am-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .am-product-image {
        height: 145px;
    }

    .am-product-info {
        padding: 12px;
    }

    .am-product-info h3 {
        font-size: 12px;
    }

    .am-product-price {
        font-size: 15px;
    }

    .am-seller-box {
        padding: 28px 20px;
        grid-template-columns: 1fr;
    }

    .am-seller-visual {
        min-height: 170px;
    }

    .am-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media(max-width: 380px) {
    .am-hero h1 {
        font-size: 34px;
    }

    .am-category-card p {
        font-size: 10px;
    }
}


/* =========================================
   AUTOMARKT24 - PRODUCT CATEGORY PAGES
========================================= */

.am-category-hero {
    background: linear-gradient(120deg, #071A33, #123B68);
    color: #fff;
    padding: 55px 0;
}

.am-category-hero .am-container,
.am-category-content .am-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.am-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #c6d1df;
    font-size: 13px;
    margin-bottom: 30px;
}

.am-breadcrumb a {
    color: #D6A84B;
    text-decoration: none;
}

.am-category-heading {
    display: flex;
    align-items: center;
    gap: 22px;
}

.am-category-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    display: grid;
    place-items: center;
    font-size: 38px;
    flex-shrink: 0;
}

.am-eyebrow {
    color: #D6A84B;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.am-category-heading h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 44px);
    margin: 8px 0;
}

.am-category-heading p {
    color: #d8e1ed;
    margin: 0;
}

.am-category-description {
    margin-top: 20px;
    color: #e0e7ef;
}

.am-category-content {
    background: #F4F6F9;
    padding: 55px 0 70px;
}

.am-category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.am-category-toolbar h2 {
    color: #071A33;
    font-size: 27px;
    margin: 0 0 6px;
}

.am-category-toolbar p {
    color: #687589;
    margin: 0;
}

.am-category-search {
    display: flex;
    gap: 8px;
    max-width: 420px;
    width: 100%;
}

.am-category-search input {
    min-width: 0;
    flex: 1;
    padding: 13px 15px;
    border: 1px solid #dce2ea;
    border-radius: 8px;
    background: #fff;
}

.am-category-search button {
    background: #D6A84B;
    color: #071A33;
    border: 0;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 800;
    cursor: pointer;
}

.am-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.am-product-card {
    background: #fff;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid #e7ebf0;
    box-shadow: 0 5px 22px rgba(7,26,51,.05);
    transition: transform .2s, box-shadow .2s;
}

.am-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(7,26,51,.12);
}

.am-product-photo {
    height: 225px;
    display: block;
    position: relative;
    overflow: hidden;
    background: #e9edf2;
}

.am-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-sale-label {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    padding: 6px 11px;
    border-radius: 5px;
    background: #D6A84B;
    color: #071A33;
    font-size: 11px;
    font-weight: 800;
}

.am-product-info {
    padding: 20px;
}

.am-product-category {
    color: #98712b;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.am-product-info h3 {
    margin: 9px 0;
    font-size: 18px;
    line-height: 1.4;
}

.am-product-info h3 a {
    color: #071A33;
    text-decoration: none;
}

.am-product-price {
    color: #123B68;
    font-size: 21px;
    font-weight: 800;
    margin: 12px 0;
}

.am-product-status {
    margin-bottom: 17px;
    font-size: 12px;
}

.am-in-stock {
    color: #16834a;
    font-weight: 700;
}

.am-out-stock {
    color: #c0392b;
    font-weight: 700;
}

.am-product-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #071A33;
    color: #fff;
    padding: 13px 15px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
}

.am-product-button:hover {
    background: #123B68;
    color: #fff;
}

.am-empty-category {
    background: #fff;
    text-align: center;
    padding: 65px 20px;
    border-radius: 12px;
}

.am-empty-icon {
    font-size: 42px;
}

.am-empty-category h3 {
    color: #071A33;
    font-size: 24px;
}

.am-empty-category p {
    color: #687589;
}

.am-empty-category a {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 22px;
    background: #071A33;
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
}

.am-pagination {
    margin-top: 35px;
}

@media (max-width: 850px) {
    .am-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .am-category-hero {
        padding: 35px 0;
    }

    .am-category-heading {
        align-items: flex-start;
        gap: 14px;
    }

    .am-category-icon {
        width: 55px;
        height: 55px;
        font-size: 27px;
    }

    .am-product-grid {
        grid-template-columns: 1fr;
    }

    .am-product-photo {
        height: 220px;
    }

    .am-category-search {
        max-width: none;
    }
}


/* ==========================================================
   AUTOMARKT24 — PRODUCT BUTTONS V2
========================================================== */

.am-product-actions {
    display: flex;
    width: 100%;
    margin-top: 16px;
}

.am-add-to-cart-button,
.am-product-link {
    width: 100%;
    min-height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px !important;
    border-radius: 7px !important;
    box-sizing: border-box;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: all .25s ease;
}

/* ADD TO CART */

.am-add-to-cart-button {
    background: #D6A84B !important;
    color: #071A33 !important;
    border: 1px solid #D6A84B !important;
}

.am-add-to-cart-button:hover {
    background: #bd9139 !important;
    border-color: #bd9139 !important;
    color: #071A33 !important;
    transform: translateY(-2px);
}

.am-add-to-cart-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* PRODUCT DETAILS */

.am-product-link {
    background: #071A33 !important;
    color: #fff !important;
    border: 1px solid #071A33 !important;
}

.am-product-link:hover {
    background: #123B68 !important;
    border-color: #123B68 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* PRODUCT STATUS */

.am-product-status {
    margin-top: 10px;
    font-size: 12px;
}

.am-in-stock {
    color: #16834a;
    font-weight: 700;
}

.am-out-stock {
    color: #c0392b;
    font-weight: 700;
}

.am-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16834a;
    margin-right: 5px;
}

/* MOBILE */

@media (max-width: 600px) {

    .am-product-actions {
        width: 100%;
    }

    .am-add-to-cart-button,
    .am-product-link {
        min-height: 48px;
        font-size: 13px !important;
    }

}


/* ==========================================================
   AUTOMARKT24 — PREMIUM HEADER V2
========================================================== */

.am-topbar {
    background: #071A33;
    color: #fff;
    font-size: 12px;
    padding: 9px 0;
}

.am-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.am-topbar-right {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d7dfeb;
}

/* MAIN HEADER */

.am-header {
    position: relative;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e9edf2;
    box-shadow: 0 3px 15px rgba(7,26,51,.045);
}

.am-header-inner {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

/* LOGO */

.am-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.am-brand-icon {
    width: 49px;
    height: 49px;
    border-radius: 11px;
    background: #071A33;
    color: #D6A84B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -2px;
}

.am-brand-icon span {
    color: #fff;
}

.am-brand-name {
    color: #071A33;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.am-brand-name strong {
    color: #bd9139;
}

.am-brand-name small {
    display: block;
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 1.8px;
    color: #7a8492;
    font-weight: 800;
}

/* NAVIGATION */

.am-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.am-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.am-menu li {
    position: relative;
    list-style: none;
}

.am-menu a {
    color: #172338;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease;
}

.am-menu a:hover,
.am-menu .current-menu-item > a {
    color: #bd9139;
}

/* HEADER ACTIONS */

.am-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-shrink: 0;
}

.am-account {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #071A33;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.am-account:hover {
    color: #bd9139;
}

/* CART */

.am-cart-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #071A33;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding-right: 4px;
}

.am-cart-button:hover {
    color: #bd9139;
}

.am-cart-count {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50px;
    background: #D6A84B;
    color: #071A33;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
}

.am-cart-count.is-empty {
    background: #e9edf2;
    color: #596579;
}

/* SELL BUTTON */

.am-sell-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 43px;
    padding: 0 15px;
    background: #D6A84B;
    border: 1px solid #D6A84B;
    border-radius: 6px;
    color: #071A33 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: all .2s ease;
}

.am-sell-button:hover {
    background: #bd9139;
    border-color: #bd9139;
    transform: translateY(-2px);
}

.am-sell-plus {
    font-size: 19px;
    line-height: 1;
}

/* MOBILE BUTTON */

.am-mobile-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid #e2e7ee;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    padding: 10px;
}

.am-mobile-toggle span {
    display: block;
    height: 2px;
    background: #071A33;
    margin: 5px 0;
    border-radius: 5px;
}

/* MOBILE ACTIONS */

.am-mobile-actions {
    display: none;
}

/* TABLET */

@media (max-width: 1100px) {

    .am-menu {
        gap: 13px;
    }

    .am-menu a {
        font-size: 12px;
    }

    .am-header-actions {
        gap: 10px;
    }

    .am-account span,
    .am-cart-label {
        display: none;
    }

    .am-sell-button {
        padding: 0 10px;
    }

}

/* MOBILE */

@media (max-width: 850px) {

    .am-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .am-topbar-right {
        display: none;
    }

    .am-header-inner {
        min-height: 74px;
        gap: 12px;
    }

    .am-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px 5%;
        border-top: 1px solid #e9edf2;
        box-shadow: 0 10px 20px rgba(7,26,51,.08);
    }

    .am-navigation.active {
        display: block;
    }

    .am-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .am-menu li {
        border-bottom: 1px solid #edf0f4;
    }

    .am-menu a {
        display: block;
        padding: 13px 5px;
        font-size: 14px;
    }

    .am-header-actions {
        margin-left: auto;
        gap: 12px;
    }

    .am-account {
        display: none;
    }

    .am-cart-button {
        padding: 8px;
    }

    .am-cart-label {
        display: none;
    }

    .am-sell-button {
        display: none;
    }

    .am-mobile-toggle {
        display: block;
        flex-shrink: 0;
    }

    .am-mobile-actions {
        display: none;
        padding: 12px 5%;
        background: #f4f6f9;
        border-bottom: 1px solid #e2e7ee;
        gap: 10px;
    }

    .am-mobile-actions.active {
        display: flex;
        flex-wrap: wrap;
    }

    .am-mobile-actions a {
        padding: 9px 12px;
        border-radius: 5px;
        background: #071A33;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
    }

}

/* SMALL MOBILE */

@media (max-width: 430px) {

    .am-brand-icon {
        width: 41px;
        height: 41px;
        font-size: 20px;
    }

    .am-brand-name {
        font-size: 17px;
    }

    .am-brand-name small {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .am-header-actions {
        gap: 5px;
    }

}

/* TOPBAR CATEGORY LINKS */

.am-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-topbar-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color .25s ease;
}

.am-topbar-right a:hover {
    color: #D6A84B;
}

.am-topbar-separator {
    color: rgba(255,255,255,.45);
}

@media (max-width: 600px) {
    .am-topbar-right {
        gap: 7px;
    }

    .am-topbar-right a {
        font-size: 10px;
    }
}


/* ==========================================================
   AUTOMARKT24 — SINGLE PRODUCT PREMIUM DESIGN
========================================================== */

.am-single-page {
    background: #f4f6f9;
    padding-bottom: 75px;
    color: #172338;
}

.am-single-page * {
    box-sizing: border-box;
}

/* BREADCRUMB */

.am-single-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e8edf2;
    padding: 16px 0;
    margin-bottom: 30px;
}

.am-single-breadcrumb .am-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #8590a0;
}

.am-single-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.am-single-breadcrumb a:hover {
    color: #bd9139;
}

.am-single-breadcrumb strong {
    color: #071a33;
    font-weight: 700;
}

/* MAIN LAYOUT */

.am-single-top {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 35px;
    align-items: start;
}

/* GALLERY */

.am-single-gallery-column {
    min-width: 0;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 5px 20px rgba(7,26,51,.04);
}

.am-gallery-main {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #edf0f4;
    border-radius: 9px;
}

.am-main-image-wrapper {
    width: 100%;
    height: 100%;
}

.am-main-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: opacity .2s ease;
}

.am-gallery-sale {
    position: absolute;
    z-index: 5;
    top: 17px;
    left: 17px;
    background: #D6A84B;
    color: #071A33;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
}

.am-gallery-expand {
    position: absolute;
    z-index: 5;
    top: 15px;
    right: 15px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #071A33;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.am-gallery-expand:hover {
    background: #D6A84B;
}

/* THUMBNAILS */

.am-gallery-thumbnails {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 15px 2px 8px;
    scrollbar-width: thin;
}

.am-gallery-thumb {
    flex: 0 0 91px;
    height: 72px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid #e7ebf0;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease;
}

.am-gallery-thumb.active,
.am-gallery-thumb:hover {
    border-color: #D6A84B;
}

.am-gallery-thumb-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.am-gallery-counter {
    padding-top: 12px;
    border-top: 1px solid #edf0f4;
    color: #788397;
    font-size: 12px;
}

/* PRODUCT SUMMARY */

.am-single-summary {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    padding: 29px;
    box-shadow: 0 5px 20px rgba(7,26,51,.04);
}

.am-single-category-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a27b32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.am-single-category-label span {
    width: 8px;
    height: 8px;
    background: #D6A84B;
    border-radius: 50%;
}

.am-single-title {
    color: #071A33;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    font-weight: 800;
    margin: 13px 0;
}

.am-single-reference {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #8791a0;
}

.am-single-reference strong {
    color: #071A33;
}

.am-single-price-box {
    margin: 25px 0;
    padding: 21px;
    border-radius: 9px;
    background: #f5f7fa;
    border: 1px solid #e9edf2;
}

.am-price-label {
    display: block;
    margin-bottom: 8px;
    color: #778397;
    font-size: 12px;
    font-weight: 600;
}

.am-single-price {
    color: #071A33;
    font-size: 32px;
    font-weight: 900;
}

.am-single-price .woocommerce-Price-amount {
    color: #071A33;
}

.am-single-price del {
    color: #a0a8b4;
    font-size: 17px;
    font-weight: 400;
}

.am-single-price ins {
    text-decoration: none;
}

.am-single-price-box small {
    display: block;
    margin-top: 8px;
    color: #8a94a3;
    font-size: 11px;
}

.am-single-short-description {
    color: #647184;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* QUICK SPECS */

.am-quick-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #edf0f4;
    border-left: 1px solid #edf0f4;
    margin: 20px 0;
}

.am-quick-spec {
    min-width: 0;
    padding: 13px;
    border-right: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

.am-quick-spec span {
    display: block;
    margin-bottom: 6px;
    color: #8993a1;
    font-size: 11px;
}

.am-quick-spec strong {
    display: block;
    color: #071A33;
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* ACTION BUTTONS */

.am-single-actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 23px;
}

.am-single-primary-button,
.am-single-secondary-button,
.am-single-actions .single_add_to_cart_button {
    min-height: 51px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 18px !important;
    border-radius: 7px !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    transition: all .2s ease;
}

.am-single-primary-button,
.am-single-actions .single_add_to_cart_button {
    background: #071A33 !important;
    color: #fff !important;
    border: 1px solid #071A33 !important;
}

.am-single-primary-button:hover,
.am-single-actions .single_add_to_cart_button:hover {
    background: #123B68 !important;
    color: #fff !important;
}

.am-single-secondary-button {
    background: #fff !important;
    color: #071A33 !important;
    border: 1px solid #D6A84B !important;
}

.am-single-secondary-button:hover {
    background: #D6A84B !important;
    color: #071A33 !important;
}

/* WOO COMMERCE CART FORM */

.am-single-actions form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.am-single-actions form.cart .quantity {
    display: flex;
    align-items: center;
}

.am-single-actions form.cart .qty {
    width: 65px;
    min-height: 48px;
    border: 1px solid #dce2e9;
    border-radius: 6px;
    text-align: center;
}

.am-single-actions form.cart .single_add_to_cart_button {
    flex: 1;
}

.am-single-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 21px;
    color: #778397;
    font-size: 12px;
}

.am-single-location strong {
    color: #071A33;
}

.am-single-trust {
    display: grid;
    gap: 12px;
    border-top: 1px solid #edf0f4;
    margin-top: 22px;
    padding-top: 20px;
    font-size: 12px;
    color: #657286;
}

.am-single-trust span {
    color: #16834a;
    font-weight: 900;
    margin-right: 7px;
}

/* DESCRIPTION */

.am-single-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 25px;
    align-items: start;
    margin-top: 35px;
}

.am-details-main {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.am-details-card,
.am-sidebar-card,
.am-sidebar-help {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 11px;
    padding: 25px;
    box-shadow: 0 4px 17px rgba(7,26,51,.035);
}

.am-details-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 17px;
    margin-bottom: 20px;
}

.am-details-heading h2,
.am-details-card h2 {
    color: #071A33;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.am-details-description {
    color: #667386;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.am-details-description img {
    max-width: 100%;
    height: auto;
}

.am-details-description p:last-child {
    margin-bottom: 0;
}

/* TECHNICAL GRID */

.am-technical-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.am-technical-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 10px;
    border-bottom: 1px solid #edf0f4;
    font-size: 12px;
}

.am-technical-item span {
    color: #8993a1;
}

.am-technical-item strong {
    color: #071A33;
    text-align: right;
    overflow-wrap: anywhere;
}

/* SELLER CONTACT */

.am-seller-contact {
    border-top: 3px solid #D6A84B;
}

.am-seller-contact h2 {
    margin-bottom: 13px;
}

.am-seller-contact p {
    color: #738094;
    font-size: 13px;
    line-height: 1.7;
}

.am-seller-contact .am-single-primary-button {
    margin-top: 15px;
}

.am-contact-notice {
    padding: 13px;
    background: #f5f7fa;
    border-radius: 6px;
}

/* SIDEBAR */

.am-details-sidebar {
    display: grid;
    gap: 18px;
}

.am-sidebar-card h3,
.am-sidebar-help h3 {
    color: #071A33;
    font-size: 17px;
    margin: 0 0 20px;
}

.am-sidebar-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
    font-size: 11px;
}

.am-sidebar-line:last-child {
    border-bottom: 0;
}

.am-sidebar-line span {
    color: #8993a1;
}

.am-sidebar-line strong {
    color: #071A33;
    text-align: right;
}

.am-sidebar-help {
    background: #071A33;
    color: #fff;
}

.am-sidebar-help > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #D6A84B;
    color: #071A33;
    border-radius: 50%;
    font-weight: 900;
}

.am-sidebar-help h3 {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 9px;
}

.am-sidebar-help p {
    color: #c3cfde;
    font-size: 12px;
    line-height: 1.7;
}

.am-sidebar-help a {
    display: inline-block;
    margin-top: 8px;
    color: #D6A84B;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

/* RELATED PRODUCTS */

.am-related-products {
    margin-top: 45px;
}

.am-related-products .am-details-heading > span {
    color: #8791a0;
    font-size: 12px;
}

.am-related-products .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 !important;
}

.am-related-products .products::before,
.am-related-products .products::after {
    display: none !important;
}

.am-related-products .products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: #fff;
    padding: 12px !important;
    border: 1px solid #e7ebf0;
    border-radius: 9px;
}

/* LIGHTBOX */

.am-image-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(3,12,25,.96);
    align-items: center;
    justify-content: center;
    padding: 65px 75px;
}

.am-image-lightbox.active {
    display: flex;
}

.am-image-lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.am-lightbox-close,
.am-lightbox-prev,
.am-lightbox-next {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(255,255,255,.13);
    cursor: pointer;
    border-radius: 50%;
}

.am-lightbox-close {
    top: 20px;
    right: 25px;
    width: 43px;
    height: 43px;
    font-size: 28px;
}

.am-lightbox-prev,
.am-lightbox-next {
    top: 50%;
    width: 48px;
    height: 48px;
    font-size: 32px;
}

.am-lightbox-prev {
    left: 20px;
}

.am-lightbox-next {
    right: 20px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .am-single-top {
        grid-template-columns: 1fr;
    }

    .am-single-details {
        grid-template-columns: 1fr;
    }

    .am-details-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .am-single-page {
        padding-bottom: 40px;
    }

    .am-single-breadcrumb {
        margin-bottom: 17px;
    }

    .am-gallery-main {
        height: 280px;
    }

    .am-single-gallery-column {
        padding: 9px;
    }

    .am-single-summary {
        padding: 20px;
    }

    .am-single-title {
        font-size: 25px;
    }

    .am-single-price {
        font-size: 27px;
    }

    .am-quick-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-details-card,
    .am-sidebar-card,
    .am-sidebar-help {
        padding: 19px;
    }

    .am-technical-grid {
        grid-template-columns: 1fr;
    }

    .am-details-sidebar {
        grid-template-columns: 1fr;
    }

    .am-related-products .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-image-lightbox {
        padding: 60px 15px;
    }

    .am-lightbox-prev {
        left: 5px;
    }

    .am-lightbox-next {
        right: 5px;
    }

}

@media (max-width: 380px) {

    .am-related-products .products {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   AUTOMARKT24 — PREMIUM SHOP PAGE
========================================================== */

.am-shop-page {
    background: #f4f6f9;
    color: #172338;
    overflow: hidden;
}

.am-shop-container {
    width: min(1240px, 92%);
    margin: 0 auto;
}

/* HERO */

.am-shop-hero {
    position: relative;
    padding: 75px 0 95px;
    background:
        linear-gradient(110deg, #071A33 0%, #123B68 100%);
    color: #fff;
    overflow: hidden;
}

.am-shop-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -100px;
    top: -170px;
    border: 1px solid rgba(214,168,75,.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(214,168,75,.035),
        0 0 0 90px rgba(214,168,75,.025);
}

.am-shop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.am-shop-eyebrow,
.am-shop-small-label {
    display: inline-block;
    color: #D6A84B;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.am-shop-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 17px 0;
}

.am-shop-hero h1 span {
    display: block;
    color: #D6A84B;
}

.am-shop-hero-content > p {
    color: #d4deeb;
    font-size: 15px;
    line-height: 1.8;
    max-width: 620px;
}

.am-shop-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
}

.am-shop-hero-benefits span {
    color: #e2e9f1;
    font-size: 12px;
    font-weight: 700;
}

/* SEARCH */

.am-shop-search-section {
    position: relative;
    z-index: 5;
    margin-top: -35px;
}

.am-shop-search-box {
    padding: 18px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(7,26,51,.12);
}

.am-shop-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-shop-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 55px;
    padding: 0 16px;
    border: 1px solid #e1e6ed;
    border-radius: 6px;
    background: #fafbfd;
}

.am-shop-search-icon {
    font-size: 25px;
    color: #bd9139;
}

.am-shop-search-input input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #071A33;
    font-size: 13px;
    box-shadow: none;
}

.am-shop-search-form button {
    min-height: 55px;
    padding: 0 28px;
    border: 0;
    border-radius: 6px;
    background: #D6A84B;
    color: #071A33;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.am-shop-search-form button:hover {
    background: #bd9139;
    transform: translateY(-2px);
}

.am-shop-search-form button span {
    margin-left: 10px;
}

/* CATEGORIES */

.am-shop-category-section {
    padding: 65px 0 60px;
}

.am-shop-category-heading,
.am-shop-products-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 25px;
}

.am-shop-category-heading h2,
.am-shop-products-heading h2 {
    margin: 8px 0 0;
    color: #071A33;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.5px;
}

.am-shop-category-heading > a {
    color: #123B68;
    font-size: 12px;
    font-weight: 800;
}

.am-shop-category-heading > a:hover {
    color: #bd9139;
}

.am-shop-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.am-shop-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 155px;
    padding: 21px;
    border: 1px solid #e6ebf1;
    border-radius: 9px;
    background: #fff;
    transition: .25s ease;
}

.am-shop-category-card:hover,
.am-shop-category-card.active {
    border-color: #D6A84B;
    box-shadow: 0 10px 25px rgba(7,26,51,.08);
    transform: translateY(-4px);
}

.am-shop-category-icon {
    font-size: 27px;
    margin-bottom: 13px;
}

.am-shop-category-name {
    color: #071A33;
    font-size: 16px;
    font-weight: 900;
}

.am-shop-category-description {
    margin-top: 7px;
    color: #788497;
    font-size: 11px;
    line-height: 1.5;
}

.am-shop-category-arrow {
    position: absolute;
    right: 18px;
    bottom: 17px;
    color: #bd9139;
    font-size: 20px;
    font-weight: 900;
}

/* PRODUCTS */

.am-shop-products-section {
    padding: 65px 0 80px;
    background: #fff;
}

.am-shop-products-heading {
    margin-bottom: 30px;
}

.am-shop-products-heading p {
    color: #788497;
    font-size: 13px;
    margin: 9px 0 0;
}

/* WooCommerce notices */

.am-shop-products-section .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

/* RESULT COUNT + SORTING */

.am-shop-products-section .woocommerce-result-count {
    color: #788497;
    font-size: 12px;
    margin: 10px 0 20px;
}

.am-shop-products-section .woocommerce-ordering {
    margin-bottom: 20px;
}

.am-shop-products-section .woocommerce-ordering select {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dfe5ec;
    border-radius: 6px;
    background: #fff;
    color: #172338;
    font-size: 12px;
}

/* PRODUCT GRID */

.am-shop-products-section ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.am-shop-products-section ul.products::before,
.am-shop-products-section ul.products::after {
    display: none !important;
}

.am-shop-products-section ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 17px !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    box-shadow: 0 4px 17px rgba(7,26,51,.045);
    transition: .25s ease;
}

.am-shop-products-section ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: #D6A84B;
    box-shadow: 0 13px 30px rgba(7,26,51,.11);
}

.am-shop-products-section ul.products li.product a img {
    display: block;
    width: 100%;
    height: 205px;
    margin: 0 0 15px !important;
    object-fit: cover;
    background: #edf0f4;
}

.am-shop-products-section ul.products li.product .woocommerce-loop-product__title {
    padding: 0 15px !important;
    min-height: 43px;
    color: #071A33;
    font-size: 14px !important;
    line-height: 1.5;
    font-weight: 800;
}

.am-shop-products-section ul.products li.product .price {
    display: block;
    padding: 0 15px;
    margin: 12px 0 !important;
    color: #123B68 !important;
    font-size: 18px !important;
    font-weight: 900;
}

.am-shop-products-section ul.products li.product .price del {
    color: #929ba8;
    font-size: 12px;
}

.am-shop-products-section ul.products li.product .price ins {
    text-decoration: none;
}

.am-shop-products-section ul.products li.product .star-rating {
    margin: 8px 15px;
    color: #D6A84B;
}

.am-shop-products-section ul.products li.product .button,
.am-shop-products-section ul.products li.product a.add_to_cart_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin: 13px 15px 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #D6A84B !important;
    border-radius: 6px !important;
    background: #D6A84B !important;
    color: #071A33 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-align: center;
    transition: .2s ease;
}

.am-shop-products-section ul.products li.product .button:hover {
    background: #bd9139 !important;
    border-color: #bd9139 !important;
    color: #071A33 !important;
}

/* SALE LABEL */

.am-shop-products-section ul.products li.product .onsale {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    min-height: auto;
    min-width: auto;
    padding: 7px 11px;
    border-radius: 4px;
    background: #D6A84B;
    color: #071A33;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.3;
}

/* PAGINATION */

.am-shop-products-section .woocommerce-pagination {
    margin-top: 40px;
}

.am-shop-products-section .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    border: 0 !important;
}

.am-shop-products-section .woocommerce-pagination ul li {
    border: 0 !important;
}

.am-shop-products-section .woocommerce-pagination ul li a,
.am-shop-products-section .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #e1e6ed !important;
    border-radius: 5px;
    background: #fff;
    color: #071A33;
    font-weight: 800;
}

.am-shop-products-section .woocommerce-pagination ul li span.current,
.am-shop-products-section .woocommerce-pagination ul li a:hover {
    border-color: #071A33 !important;
    background: #071A33 !important;
    color: #fff !important;
}

/* EMPTY PRODUCTS */

.am-shop-products-section .woocommerce-info {
    border-top-color: #D6A84B;
    background: #f7f9fc;
    color: #172338;
    border-radius: 7px;
}

.am-shop-products-section .woocommerce-info::before {
    color: #bd9139;
}

/* SELLER CTA */

.am-shop-seller-section {
    padding: 65px 0;
    background: #f4f6f9;
}

.am-shop-seller-box {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 35px;
    align-items: center;
    padding: 45px;
    border-radius: 12px;
    background: #071A33;
    color: #fff;
}

.am-shop-seller-box h2 {
    max-width: 600px;
    margin: 12px 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.2;
}

.am-shop-seller-box p {
    max-width: 580px;
    color: #c6d1df;
    font-size: 13px;
    line-height: 1.8;
}

.am-shop-seller-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    padding: 14px 20px;
    border-radius: 5px;
    background: #D6A84B;
    color: #071A33 !important;
    font-size: 12px;
    font-weight: 900;
    transition: .2s ease;
}

.am-shop-seller-button:hover {
    background: #bd9139;
    transform: translateY(-2px);
}

.am-shop-seller-visual {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 13px;
    padding: 25px;
    border: 1px solid rgba(214,168,75,.45);
    border-radius: 9px;
    background: linear-gradient(135deg, #123B68, #071A33);
    text-align: center;
}

.am-shop-seller-visual span {
    color: #D6A84B;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 3px;
}

.am-shop-seller-visual strong {
    color: #fff;
    font-size: 16px;
}

.am-shop-seller-visual small {
    color: #c6d1df;
    font-size: 11px;
}

/* RESPONSIVE */

@media(max-width: 1050px) {
    .am-shop-products-section ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .am-shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 700px) {
    .am-shop-hero {
        padding: 55px 0 75px;
    }

    .am-shop-hero h1 {
        font-size: 35px;
    }

    .am-shop-hero-benefits {
        gap: 12px 18px;
    }

    .am-shop-search-form {
        flex-direction: column;
    }

    .am-shop-search-input,
    .am-shop-search-form button {
        width: 100%;
    }

    .am-shop-search-form button {
        min-height: 48px;
    }

    .am-shop-category-section,
    .am-shop-products-section {
        padding: 45px 0;
    }

    .am-shop-category-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .am-shop-products-section ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
    }

    .am-shop-products-section ul.products li.product a img {
        height: 145px;
    }

    .am-shop-products-section ul.products li.product .woocommerce-loop-product__title {
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .am-shop-products-section ul.products li.product .price {
        padding: 0 10px;
        font-size: 15px !important;
    }

    .am-shop-products-section ul.products li.product .button {
        margin-left: 10px !important;
        margin-right: 10px !important;
        font-size: 10px !important;
    }

    .am-shop-products-section .woocommerce-result-count,
    .am-shop-products-section .woocommerce-ordering {
        float: none !important;
        width: 100%;
    }

    .am-shop-products-section .woocommerce-ordering select {
        width: 100%;
    }

    .am-shop-seller-box {
        grid-template-columns: 1fr;
        padding: 27px 20px;
    }
}

@media(max-width: 380px) {
    .am-shop-category-grid {
        grid-template-columns: 1fr;
    }

    .am-shop-products-section ul.products {
        grid-template-columns: 1fr;
    }

    .am-shop-products-section ul.products li.product a img {
        height: 220px;
    }
}
