@font-face {
    font-family: '72';
    src: url('../fonts/72-Black.woff2') format('woff2'),
        url('../fonts/72-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-Bold.woff2') format('woff2'),
        url('../fonts/72-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-BoldItalic.woff2') format('woff2'),
        url('../fonts/72-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-Condensed.woff2') format('woff2'),
        url('../fonts/72-Condensed.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-CondensedBold.woff2') format('woff2'),
        url('../fonts/72-CondensedBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-Italic.woff2') format('woff2'),
        url('../fonts/72-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-Light.woff2') format('woff2'),
        url('../fonts/72-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-Regular.woff2') format('woff2'),
        url('../fonts/72-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-Semibold.woff2') format('woff2'),
        url('../fonts/72-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '72';
    src: url('../fonts/72-SemiboldDuplex.woff2') format('woff2'),
        url('../fonts/72-SemiboldDuplex.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #1a4db3;
    --mds_dark_blue: #1a4db3;
    --mds_light_blue: #0d59f2;
    --mds_dark_grey: #333333;
    --mds_middle_grey: #484848;
    --mds_menu_color: #ffffff;
    --mds_light_grey: #f9f9f9;
    --mds_page_background: #fefefe;
    --mds_orange: #fca311;
    --mds_text_grey: #555555 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --base_font_size: 20px;
    --radius: 8px;
    --transition: all 0.2s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '72', sans-serif;
    font-size: inherit;
}

html {
    font-size: var(--base_font_size);
}

body,
.content,
.top-menu,
.footer {
    font-family: '72', sans-serif;
    font-weight: normal;
    line-height: 1.6;
    color: var(--mds_text_grey);
}



h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--mds_dark_grey);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}


h1 {
    font-size: 2rem;
    line-height: 2.1rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.9rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.7rem;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

h6 {
    font-size: 1.1rem;
    line-height: 1.3rem;
    margin-bottom: 1rem;
}

p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
    /*letter-spacing: 0.2px;*/
    color: var(--mds_dark_grey);
}


ul,
ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--mds_dark_grey);
    line-height: 1.5rem;
}


blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--mds_middle_grey);
    padding-left: 1.5rem;
    border-left: 4px solid var(--mds_light_grey);
    margin: 1.5rem 0;
}


.small-text {
    font-size: 0.8rem;
}


a {
    color: var(--mds_dark_blue);
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    text-decoration: underline;
}


button,
.button {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    color: var(--mds_light_grey);
    background-color: var(--mds_dark_blue);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover,
.button:hover {
    background-color: var(--mds_light_blue);
}


code,
pre {
    background-color: var(--mds_light_grey);
    padding: 2px 4px;
    border-radius: 4px;
}




body,
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--mds_page_background);
}


.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1.2rem;
    background-color: var(--mds_dark_grey);
    color: var(--mds_menu_color);
    padding: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-variant: small-caps;
    font-weight: 600;

}

.top-menu a {
    font-size: 1.5rem;
}

.top-menu nav {
    display: flex;
    align-items: center;
    flex-grow: 1;

}

.top-menu .logo img {
    height: 40px;
    margin-right: 40px;
}

.top-menu ul.menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.top-menu ul.menu>li {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    border-left: 3px solid;
    border-left-color: var(--mds_orange);
}

.top-menu ul.menu>li>a {
    color: var(--mds_menu_color);
    text-decoration: none;
}

.top-menu ul.menu>li:hover>.submenu {
    display: block;
    min-width: 400px;
    top: 15px;
    border-left: 3px solid;
    border-bottom: 1px solid;
    border-left-color: var(--mds_orange);
    border-bottom-color: var(--mds_orange);
}

.submenu {
    display: none;
    position: absolute;
    background-color: var(--mds_middle_grey);
    list-style-type: none;
    padding: 10px;
    margin-top: 5px;
}

.submenu li {
    margin-bottom: 5px;
}

.submenu li:hover {
    margin-bottom: 5px;
    background-color: var(--mds_dark_grey);
}

.submenu li a {
    color: var(--mds_light_grey);
    text-decoration: none;
}

.submenu li a:hover {
    color: var(--mds_orange);

}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 30px;
    width: 30px;
    margin-left: auto;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--mds_page_background);
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

.cart-button {
    background: none;
    border: none;
    color: var(--mds_menu_color);
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    margin-left: auto;
}

.cart-button .cart-icon {
    width: 42px;
    height: 40px;
    background-image: url('/user/images/cart.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    margin-left: auto;
}

li.ok-itrem {
    list-style: none;

    position: relative;

    padding-left: 35px;

}

li.ok-itrem::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url('/user/images/ok.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

li.nok-itrem {
    list-style: none;
    position: relative;
    padding-left: 35px;
}

li.nok-itrem::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;

    height: 25px;
    background-image: url('/user/images/nok.svg');

    background-size: contain;
    background-repeat: no-repeat;
}



.snipcart-total-price {
    font-weight: bold;
}


.content {
    flex-grow: 1;
    padding: 20px;
    padding-top: 60px;
    background-color: var(--mds_light_grey);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


.footer {
    background-color: var(--mds_dark_grey);
    padding: 15px 20px;
    color: var(--mds_light_grey);
    text-align: center;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    font-size: 0.4rem;
    margin-top: 20px;
}

.footer a {
    color: var(--mds_menu_color);
    text-decoration: none;
    font-size: 1rem;

}



.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.card {
    min-height: 300px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 1;
    background-color: var(--mds_page_background);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(2px) translateX(2px);
}

.card li {
    font-size: 0.75rem;
}

.card-header {
    background-color: var(--mds_light_grey);
    padding: 0px;
    text-align: center;
    line-height: 1rem;
}

.card-header h3 h4 {
    font-size: 20px;
    gap: 0;
}

.card-header p {
    font-size: 0.5rem;
}

.card-textcontent {
    position: relative;
    min-width: 300px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-grow: 1;
}

.card-content {
    position: relative;
    min-width: 300px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-grow: 1;
}

.card-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 0;

}


.card-text {
    position: relative;
    z-index: 1;

    opacity: 0;

    color: var(--mds_dark_grey);
    font-size: 1.2rem;
    padding: 10px;
    transition: opacity 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);

    border-radius: 5px;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--mds_light_grey);
    padding: 10px 20px;
    margin-top: auto;
}

.card-button {
    background-color: var(--mds_dark_blue);
    color: var(--mds_light_grey);
    border: solid 1px;
    border-color: var(--mds_dark_blue);
    border-radius: 1px;
    padding: 8px 16px;
    text-decoration: none;
    cursor: pointer;
}

.card-button:hover {
    background-color: var(--mds_light_blue);
}



.card:hover .card-content::before {
    opacity: 0.1;

}

.card:hover .card-text {
    opacity: 1;

}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(200, 205, 220, 0.5), transparent);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.3s ease;
}

.category-title {
    color: var(--mds_middle_grey);
    font-size: 1.5rem;
    font-weight: bold;
}

.category-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.category-btn:hover {
    background-color: var(--mds_light_blue);
}


.category-image.loading {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.product-page {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;

    align-items: center;

}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-images {
    display: flex;
    gap: 20px;
}

.product-images img {
    max-width: 400px;
    height: auto;
}

.purchase-options {
    flex-basis: 300px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.version-select {
    margin-bottom: 20px;
}

.add-to-cart-btn {
    background-color: var(--mds_dark_blue);
    color: var(--mds_menu_color);
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}


.product-datasheet {
    margin-bottom: 40px;
}

.product-datasheet h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.product-datasheet table {
    width: 100%;
    border-collapse: collapse;
}

.product-datasheet th,
.product-datasheet td {
    padding: 10px;
    border-bottom: 1px solid var(--mds_medium_grey);
}

.product-datasheet th {
    text-align: left;
    background-color: var(--mds_light_grey);
}


.related-products {
    margin-bottom: 40px;
}

.related-products h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background-color: var(--mds_light_grey);
    padding: 20px;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.product-card p {
    margin-bottom: 10px;
}

.product-card .add-to-cart-btn {
    background-color: var(--mds_dark_blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
}

.product-page {
    display: flex;
    justify-content: space-between;
}


.product-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;

}

.main-image {
    width: 100%;
    height: 400px;

    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.thumbnails img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.thumbnails img:hover {
    opacity: 0.8;
}


.product-description-container {
    width: 40%;
}

.product-description-sidebar-wrapper {
    border-right: 1px solid var(--mds_light_grey);
    border-radius: 5px;
    padding: 20px;
}

.product-features-title {
    color: var(--mds_text_grey);
    font-weight: bold;
    line-height: 1.5rem;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-features-block:not(:last-child) .product-features-content {
    color: var(--mds_text_grey);
    font-size: 0.9rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.product-features-content li {
    list-style: none;
    font-size: 0.8rem;
    line-height: 1.12rem;
    font-weight: 300;
}


.check-icon {
    color: #22c55e;
    font-size: 1.25rem;
    padding-right: 10px;
}

.product-version-features li {
    list-style: none;
    margin-bottom: 1rem;
}

.product-version-title {
    padding: 0px;
    line-height: 1rem;

}

.product-version-subtitle {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    line-height: 1.2rem;
    font-weight: 400;
    font-size: 1.1rem;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.5rem;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-top: 3.6rem;
    margin-bottom: 1.6rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 1rem;
}


@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .prodcat02_products-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }
}

.prodcat-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}


.prodcat-card {
    width: calc(33.33% - 20px);

    min-height: 350px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.prodcat-card:hover {
    transform: translateY(2px) translateX(2px);
}


.prodcat-card-header {
    background-color: var(--mds_light_grey);
    padding: 10px;
    text-align: center;
}

.prodcat-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}


.prodcat-card-content {
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.prodcat-card-content img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.prodcat-card-description {
    color: #333;
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    margin-top: 10px;
}


.prodcat-card-footer {
    background-color: var(--mds_light_grey);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}

.prodcat-card-btn {
    background-color: var(--mds_dark_blue);
    color: var(--mds_light_grey);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prodcat-card-btn:hover {
    background-color: #0d59f2;
}

/*
Product category page
*/

.prodcat02_products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.prodcat02_product-card {
    background: var(--card-background);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prodcat02_product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.prodcat02_product-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.prodcat02_product-code {
    font-family: monospace;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.prodcat02_price-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.prodcat02_snipcart-add-item {
    padding: 0.5rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.prodcat02_details-button {
    background: var(--mds_orange);
    color: white;
    padding: 0.75rem;
    text-align: center;
    transition: background-color 0.2s;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    width: 100%;
    margin: 0rem 0;
    order: 1;
    /* Places it before the price buttons */
}

.prodcat02_details-button:hover {
    background: var(--mds_dark_blue);
}

.prodcat02_price-buttons {
    order: 2;
}

.prodcat02_product-card {
    display: flex;
    flex-direction: column;
}


@media (max-width: 768px) {

    .prodcat02_details-button {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .prodcat02_products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .prodcat02_product-card {
        padding: 1rem;
    }

    .prodcat02_product-image {
        height: 180px;
    }

    .prodcat02_price-buttons {
        grid-template-columns: 1fr;
    }

    .prodcat02_product-title {
        font-size: 1.1rem;
    }

    .prodcat02_snipcart-add-item {
        padding: 0.75rem;
        font-size: 1rem;
    }

    :root {
        --base-font-size: 14px;
    }

    .product-page {
        flex-direction: column;
    }

    .product-description-container {
        margin-top: 20px;
        width: 90%;
    }

    .product-description-sidebar-wrapper {
        width: 90%;
        border-right: none;
        border-top: var(--mds_dark_grey);
        border-top: 1px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card {
        width: 75%;

        min-width: unset;

        max-width: 600px;

    }

    .card-textcontent,
    .card-content {
        width: 100%;

    }

    nav {
        position: relative;
    }

    /* HIDE menu by default on mobile */
    .top-menu ul.menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--mds_dark_grey);
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    /* SHOW menu when hamburger is clicked (active class added) */
    .top-menu ul.menu.active {
        display: flex !important;
    }

    .menu li {
        text-align: center;
        border-bottom: 1px solid #444;
        padding-left: 0;
        border-left: none;
    }

    .menu a {
        color: white;
        padding: 15px;
        display: block;
        font-size: 18px;
    }

    .top-menu .logo img {
        height: 25px;
        margin-right: 10px;
    }

    /* Hide submenus on mobile */
    .submenu {
        display: none !important;
    }

    .menu li:hover .submenu {
        display: none !important;
    }

    /* SHOW hamburger on mobile */
    .hamburger {
        display: flex;
    }

    .cart-button .cart-icon {
        width: 26px;
        height: 25px;
        background-image: url('/user/images/cart.svg');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 8px;
        margin-left: auto;
    }
}

/*
Addition for category page 2025-04-19
*/
/* Modern Product Grid Styling */

/* Product Header */
.product-header {
    margin-bottom: 2rem;
    text-align: center;
    position: static !important;
    z-index: auto !important;
    background: transparent !important;
    border-bottom: none !important;
}

.product-header h1 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-header hr {
    width: 60px;
    margin: 0 auto;
    border: none;
    border-top: 3px solid var(--mds_dark_blue);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--mds_page_background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    font-size: calc(var(--base_font_size) * 0.8);
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Product Image */
.product-image-container {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

/* Product Content */
.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem;
}

.product-content h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mds_dark_grey);
}

.product-meta {
    color: var(--mds_middle_grey);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--mds_text_grey);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Actions */
.product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.details-btn {
    display: inline-block;
    padding: 0.5rem;
    text-align: center;
    background: var(--mds_light_grey);
    color: var(--mds_dark_grey);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.details-btn:hover {
    background: var(--mds_orange);
    color: var(--mds_menu_color);
}

/* Price Options */
.price-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.cart-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: var(--mds_dark_blue);
    color: var(--mds_menu_color);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.cart-btn:hover {
    background: var(--mds_light_blue);
    transform: translateY(-2px);
}

.price {
    font-weight: 600;
    font-size: 1rem;
}

.price-type {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Tax Note */
.tax-note {
    text-align: center;
    color: var(--mds_middle_grey);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern product detail page 2025-04-21 */
/* Modern Product Detail Styling */

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-size: calc(var(--base_font_size) * 0.8);
    color: var(--mds_dark_grey);
}

.product-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--mds_dark_grey);
    font-weight: 600;
}

.header-hr {
    width: 60px;
    margin: 0 auto 2rem;
    border: none;
    border-top: 3px solid var(--mds_dark_blue);
}

/* Main Product Area */
.product-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Product Images */
.product-media {
    position: relative;
}

.product-3d-model {
    width: 100%;
    height: 400px;
    background-color: var(--mds_light_grey);
    border-radius: var(--radius);
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--mds_light_grey);
}

.thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumbnail-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--mds_light_grey);
}

.thumbnail-wrapper:hover {
    border-color: var(--mds_light_blue);
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Buy Section */
.product-buy {
    background-color: var(--mds_page_background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: max-content;
}

.product-pricing h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--mds_dark_grey);
}

.pricing-option {
    border: 1px solid var(--mds_light_grey);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.pricing-option:hover {
    border-color: var(--mds_light_blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.pricing-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mds_dark_blue);
}

.pricing-action {
    display: flex;
    justify-content: center;
}

.buy-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--mds_dark_blue);
    color: var(--mds_menu_color);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.buy-button:hover {
    background-color: var(--mds_light_blue);
    transform: translateY(-2px);
}

.tax-note {
    text-align: center;
    color: var(--mds_middle_grey);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Tabbed Content */
.product-tabs {
    margin-top: 2rem;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: var(--mds_light_grey);
    overflow-x: auto;
    white-space: nowrap;
}

.tab-button {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--mds_middle_grey);
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: var(--mds_dark_blue);
}

.tab-button.active {
    color: var(--mds_dark_blue);
    border-bottom: 3px solid var(--mds_dark_blue);
    background-color: var(--mds_page_background);
}

.tab-content {
    display: none;
    padding: 2rem;
    background-color: var(--mds_page_background);
}

/* Features Tab */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-block {
    margin-bottom: 1.5rem;
}

.feature-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--mds_dark_blue);
}

.feature-value {
    color: var(--mds_text_grey);
}

.feature-value li {
    margin-bottom: 0.5rem;
}

/* Pricing Tab */
.pricing-comparison {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--mds_light_grey);
}

.pricing-table th {
    background-color: var(--mds_light_grey);
    color: var(--mds_dark_grey);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
}

.check-icon {
    color: var(--mds_dark_blue);
    font-weight: bold;
}

.x-icon {
    color: var(--mds_middle_grey);
}

.price-row {
    background-color: var(--mds_light_grey);
}

.price-row td {
    padding: 1rem;
    font-size: 1.1rem;
}

/* Charts Tab */
.charts-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.chart-item {
    border: 1px solid var(--mds_light_grey);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.chart-item:hover {
    border-color: var(--mds_orange);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.chart-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: var(--mds_light_grey);
    padding: 1rem;
}

.chart-title {
    padding: 0.75rem;
    text-align: center;
    font-weight: 500;
    color: var(--mds_dark_grey);
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
    }

    .product-buy {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }

    .tab-button {
        padding: 0.75rem 1rem;
    }

    .tab-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.5rem;
    }

    .main-image,
    .product-3d-model {
        height: 300px;
    }

    .thumbnail-wrapper {
        width: 60px;
        height: 60px;
    }
}

/* Add these styles to your main.css file - Mega Menu Styles */

/* Reset some existing menu styles for mega menu */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1.2rem;
    background-color: var(--mds_dark_grey);
    color: var(--mds_menu_color);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-variant: small-caps;
    font-weight: 600;
}

.top-menu nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    position: relative;
}

.top-menu .logo img {
    height: 40px;
    margin-right: 40px;
}

.top-menu ul.menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    align-items: center;
}

.top-menu ul.menu>li {
    position: relative;
    padding: 10px 15px;
    border-left: 3px solid var(--mds_orange);
    transition: background 0.3s ease-in-out;
}

.top-menu ul.menu>li:hover {
    background-color: var(--mds_middle_grey);
}

.top-menu ul.menu>li>a {
    color: var(--mds_menu_color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hide old submenu style */
.top-menu ul.menu>li>.submenu {
    display: none !important;
}

/* Mega Menu Container */
.mega-menu-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    width: 100%;
}

.top-menu ul.menu>li:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
}

.mega-menu-content {
    background: var(--mds_middle_grey);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--mds_orange);
}

/* Mega Menu Grid Layouts */
.mega-menu-grid {
    display: grid;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 2 column layout for simple menus */
.mega-menu-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 column layout for medium menus */
.mega-menu-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 column layout for buy models */
.mega-menu-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Mega Menu Column */
.mega-menu-col {
    display: flex;
    flex-direction: column;
}

.mega-menu-col h3 {
    color: var(--mds_orange);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--mds_dark_grey);
    font-variant: normal;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 0.75rem;
    padding-left: 0;
    border-left: none;
}

.mega-menu-links li a {
    color: var(--mds_light_grey);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-variant: normal;
    font-weight: 400;
}

.mega-menu-links li a:hover {
    background-color: var(--mds_dark_grey);
    color: var(--mds_orange);
    padding-left: 1rem;
}

/* Category Card Style for Buy Models */
.mega-category-card {
    background: var(--mds_dark_grey);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mega-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 165, 49, 0.3);
}

.mega-category-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.mega-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.mega-category-card h4 {
    color: var(--mds_menu_color);
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.mega-category-content {
    padding: 1rem;
}

.mega-category-content p {
    color: var(--mds_light_grey);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.mega-category-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--mds_orange);
    color: var(--mds_menu_color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.mega-category-link:hover {
    background-color: var(--mds_light_blue);
    text-decoration: none;
}

/* Featured Section in Mega Menu */
.mega-featured {
    background: var(--mds_dark_grey);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--mds_orange);
}

.mega-featured h3 {
    color: var(--mds_orange);
    margin-bottom: 1rem;
}

.mega-featured p {
    color: var(--mds_light_grey);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mega-featured-link {
    display: inline-block;
    color: var(--mds_light_blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mega-featured-link:hover {
    color: var(--mds_orange);
}

/* Small adjustment for cart button positioning */
.cart-button {
    background: none;
    border: none;
    color: var(--mds_menu_color);
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* DISABLE mega menu entirely on mobile */
    .mega-menu-wrapper {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Disable hover effects on mobile for mega menu items */
    .top-menu ul.menu>li:hover .mega-menu-wrapper {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Make menu items clickable and go directly to parent page */
    .top-menu ul.menu>li.has-mega-menu>a {
        pointer-events: auto !important;
    }

    /* Remove any dropdown indicators on mobile */
    .top-menu ul.menu>li.has-mega-menu>a::after {
        display: none !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .mega-menu-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-category-image {
        height: 150px;
    }

    .mega-menu-content {
        padding: 1.5rem;
    }
}

/* ========================================
   SAP Fiori Design System Overrides
   Applied: 2025-11-04
   ======================================== */

/* Import Fiori Color Variables */
:root {
    /* Fiori Color Palette */
    --fiori-blue: #0854A0;
    --fiori-blue-light: #0A6ED1;
    --fiori-blue-lighter: #E5F0FA;
    --fiori-text-primary: #32363A;
    --fiori-text-secondary: #6A6D70;
    --fiori-text-tertiary: #89919A;
    --fiori-border: #D9D9D9;
    --fiori-bg-light: #F7F7F7;
    --fiori-bg-white: #FFFFFF;
    --fiori-shadow-level-1: 0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.1);
    --fiori-shadow-level-2: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.15);
}

/* Fiori Product Container */
.product-container {
    background: var(--fiori-bg-light);
    color: var(--fiori-text-primary);
    font-size: 0.875rem;
}

/* Fiori Typography */
.product-title {
    color: var(--fiori-text-primary);
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.header-hr {
    border-top-color: var(--fiori-blue);
    border-top-width: 2px;
}

/* Fiori Product Media */
.product-3d-model {
    background-color: var(--fiori-bg-white);
    border: 1px solid var(--fiori-border);
    border-radius: 0.5rem;
    box-shadow: var(--fiori-shadow-level-1);
}

.main-image {
    background-color: var(--fiori-bg-white);
    border: 1px solid var(--fiori-border);
    border-radius: 0.5rem;
    box-shadow: var(--fiori-shadow-level-1);
}

.main-image img {
    background-color: var(--fiori-bg-white);
}

/* Fiori Thumbnails */
.thumbnail-wrapper {
    border-color: var(--fiori-border);
    border-radius: 0.25rem;
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.thumbnail-wrapper:hover {
    border-color: var(--fiori-blue);
    box-shadow: var(--fiori-shadow-level-1);
    transform: translateY(-2px);
}

/* Fiori Product Buy Section */
.product-buy {
    background-color: var(--fiori-bg-white);
    border: 1px solid var(--fiori-border);
    border-radius: 0.5rem;
    box-shadow: var(--fiori-shadow-level-1);
    padding: 1.5rem;
}

.product-pricing h2 {
    color: var(--fiori-text-primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.0125rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Fiori Pricing Options */
.pricing-option {
    border: 1px solid var(--fiori-border);
    border-radius: 0.25rem;
    background: var(--fiori-bg-white);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.pricing-option:hover {
    border-color: var(--fiori-blue);
    box-shadow: var(--fiori-shadow-level-2);
    transform: translateY(-2px);
}

.pricing-header h3 {
    color: var(--fiori-text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.0125rem;
}

.pricing-amount {
    color: var(--fiori-blue);
    font-weight: 700;
}

/* Fiori Buy Button */
.buy-button {
    background-color: var(--fiori-blue);
    color: var(--fiori-bg-white);
    border: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.0125rem;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.buy-button:hover {
    background-color: var(--fiori-blue-light);
    box-shadow: var(--fiori-shadow-level-1);
    transform: translateY(-1px);
}

.tax-note {
    color: var(--fiori-text-secondary);
    font-size: 0.75rem;
}

/* Fiori Tabs */
.product-tabs {
    background: var(--fiori-bg-white);
    border: 1px solid var(--fiori-border);
    border-radius: 0.5rem;
    box-shadow: var(--fiori-shadow-level-1);
}

.tab-buttons {
    background-color: var(--fiori-bg-light);
    border-bottom: 1px solid var(--fiori-border);
}

.tab-button {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.0125rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.tab-button:hover {
    color: var(--fiori-blue-light);
    background-color: rgba(8, 84, 160, 0.05);
}

.tab-button.active {
    color: var(--fiori-blue);
    border-bottom-color: var(--fiori-blue);
    background-color: var(--fiori-bg-white);
    font-weight: 600;
}

.tab-content {
    background-color: var(--fiori-bg-white);
    padding: 2rem;
}

/* Fiori Feature Blocks */
.product-features {
    gap: 2rem;
}

.feature-block {
    background: var(--fiori-bg-light);
    padding: 1rem;
    border-radius: 0.25rem;
    border-left: 3px solid var(--fiori-blue);
}

.feature-title {
    color: var(--fiori-text-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.0125rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.feature-value {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.feature-value li {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
}

/* Fiori Pricing Table */
.pricing-table {
    border: 1px solid var(--fiori-border);
    border-radius: 0.25rem;
    overflow: hidden;
}

.pricing-table th {
    background-color: var(--fiori-bg-light);
    color: var(--fiori-text-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.0125rem;
    border-bottom: 2px solid var(--fiori-border);
}

.pricing-table td {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--fiori-border);
}

.pricing-table .check-icon {
    color: var(--fiori-blue);
}

.pricing-table .x-icon {
    color: var(--fiori-text-tertiary);
}

.price-row {
    background-color: var(--fiori-blue-lighter);
}

.price-row td {
    color: var(--fiori-text-primary);
    font-weight: 600;
}

/* Fiori responsive adjustments */
@media (max-width: 992px) {
    .product-main {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-container {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .tab-button {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
    }

    .tab-content {
        padding: 1.5rem 1rem;
    }
}

/* ===================================
   SAP Fiori Design System - Global Styles
   =================================== */

/* Fiori Body and Page Wrapper */
.fiori-body {
    background-color: var(--fiori-bg-light);
    color: var(--fiori-text-primary);
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
}

.fiori-page-wrapper {
    background-color: var(--fiori-bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fiori-main-content {
    flex: 1;
    padding: var(--fiori-spacing-lg) var(--fiori-spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Fiori Header */
.fiori-header {
    background: #2b2b2b;
    border-bottom: 1px solid #444;
    box-shadow: var(--fiori-shadow-level-0);
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Fiori Footer */
.fiori-footer {
    background: #2b2b2b;
    border-top: 1px solid #444;
    padding: var(--fiori-spacing-lg);
    margin-top: var(--fiori-spacing-xxl);
    color: #ccc;
    font-size: 0.75rem;
}

/* Fiori Page Title and Divider */
.fiori-page-title {
    color: var(--fiori-text-primary);
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: var(--fiori-spacing-md);
    line-height: 1.3;
}

.fiori-divider {
    border: 0;
    border-top: 2px solid var(--fiori-blue);
    margin: var(--fiori-spacing-lg) 0;
    opacity: 1;
}

/* ===================================
   Fiori Product Category Page Styles
   =================================== */

.fiori-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--fiori-spacing-lg);
    margin-top: var(--fiori-spacing-xl);
}

/* Fiori Product Card */
.fiori-card {
    background: var(--fiori-bg-white);
    border: 1px solid var(--fiori-border);
    border-radius: var(--fiori-radius-medium);
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: var(--fiori-shadow-level-0);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fiori-card:hover {
    box-shadow: var(--fiori-shadow-level-2);
    border-color: var(--fiori-blue);
    transform: translateY(-4px);
}

.fiori-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--fiori-bg-white);
    border-bottom: 1px solid var(--fiori-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--fiori-spacing-md);
}

.fiori-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fiori-card-content {
    padding: var(--fiori-spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fiori-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fiori-text-primary);
    margin: 0 0 var(--fiori-spacing-sm) 0;
    line-height: 1.4;
}

.fiori-card-meta {
    font-size: 0.75rem;
    color: var(--fiori-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-bottom: var(--fiori-spacing-md);
    font-weight: 600;
}

.fiori-card-description {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--fiori-spacing-lg);
    flex: 1;
}

.fiori-card-actions {
    display: flex;
    flex-direction: column;
    gap: var(--fiori-spacing-md);
    margin-top: auto;
    padding-top: var(--fiori-spacing-md);
    border-top: 1px solid var(--fiori-border);
}

/* Fiori Buttons */
.fiori-btn-secondary {
    display: inline-block;
    padding: var(--fiori-spacing-sm) var(--fiori-spacing-lg);
    background: var(--fiori-bg-white);
    color: var(--fiori-blue);
    border: 1px solid var(--fiori-blue);
    border-radius: var(--fiori-radius-small);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.0125rem;
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
    text-align: center;
    cursor: pointer;
}

.fiori-btn-secondary:hover {
    background: var(--fiori-blue);
    color: var(--fiori-bg-white);
    box-shadow: var(--fiori-shadow-level-1);
    transform: translateY(-1px);
}

/* Fiori Price Options */
.fiori-price-options {
    display: flex;
    flex-direction: column;
    gap: var(--fiori-spacing-sm);
}

.fiori-btn-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--fiori-spacing-md);
    background: var(--fiori-bg-light);
    border: 1px solid var(--fiori-border);
    border-radius: var(--fiori-radius-small);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
    font-family: inherit;
}

.fiori-btn-price:hover {
    background: var(--fiori-blue-lighter);
    border-color: var(--fiori-blue);
    box-shadow: var(--fiori-shadow-level-1);
    transform: translateY(-1px);
}

.fiori-price-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fiori-blue);
}

.fiori-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--fiori-text-secondary);
    letter-spacing: 0.0625rem;
    font-weight: 600;
}

/* Fiori Tax Note */
.fiori-tax-note {
    margin-top: var(--fiori-spacing-xl);
    padding: var(--fiori-spacing-md);
    background: var(--fiori-bg-white);
    border: 1px solid var(--fiori-border);
    border-radius: var(--fiori-radius-small);
    text-align: center;
}

.fiori-tax-note small {
    color: var(--fiori-text-tertiary);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ===================================
   Fiori Default Page Styles
   =================================== */

.fiori-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--fiori-spacing-lg);
}

.fiori-content-body {
    background: var(--fiori-bg-white);
    padding: var(--fiori-spacing-xl);
    border: 1px solid var(--fiori-border);
    border-radius: var(--fiori-radius-medium);
    box-shadow: var(--fiori-shadow-level-1);
    line-height: 1.7;
}

.fiori-content-body h2 {
    color: var(--fiori-text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: var(--fiori-spacing-xl);
    margin-bottom: var(--fiori-spacing-md);
    letter-spacing: -0.01em;
}

.fiori-content-body h3 {
    color: var(--fiori-text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-top: var(--fiori-spacing-lg);
    margin-bottom: var(--fiori-spacing-sm);
}

.fiori-content-body p {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: var(--fiori-spacing-md);
}

.fiori-content-body ul,
.fiori-content-body ol {
    color: var(--fiori-text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: var(--fiori-spacing-md);
    padding-left: var(--fiori-spacing-xxl);
    margin-left: 0;
}

.fiori-content-body a {
    color: var(--fiori-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.fiori-content-body a:hover {
    border-bottom-color: var(--fiori-blue);
}

.fiori-content-body code {
    background: var(--fiori-bg-light);
    padding: 0.125rem 0.375rem;
    border-radius: var(--fiori-radius-small);
    font-family: monospace;
    font-size: 0.8125rem;
    color: var(--fiori-text-primary);
}

.fiori-content-body pre {
    background: var(--fiori-bg-light);
    padding: var(--fiori-spacing-md);
    border-radius: var(--fiori-radius-small);
    border: 1px solid var(--fiori-border);
    overflow-x: auto;
    margin-bottom: var(--fiori-spacing-md);
}

/* ===================================
   Fiori Responsive Design
   =================================== */

@media (max-width: 768px) {
    .fiori-product-grid {
        grid-template-columns: 1fr;
        gap: var(--fiori-spacing-md);
    }

    .fiori-main-content {
        padding: var(--fiori-spacing-md) var(--fiori-spacing-sm);
    }

    .fiori-page-title {
        font-size: 1.5rem;
    }

    .fiori-content-wrapper {
        padding: var(--fiori-spacing-md) var(--fiori-spacing-sm);
    }

    .fiori-content-body {
        padding: var(--fiori-spacing-lg);
    }

    .fiori-card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .fiori-page-title {
        font-size: 1.25rem;
    }

    .fiori-card-content {
        padding: var(--fiori-spacing-md);
    }

    .fiori-content-body {
        padding: var(--fiori-spacing-md);
    }
}