html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
    color: #303030;
    background: #f5f5f5;
}

body > main {
    flex: 1 0 auto;
}

.container {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.gornji-header li {
    font-size: 0.95em;
}

header li {
    padding: 5px 0;
    list-style: none;
}

header li a {
    padding: 0 10px;
    font-size: 1em;
    color: #303030;
}

header li a:hover {
    color: #ff7b00;
    text-decoration: none;
}

.site-logo {
    width: 220px;
    height: 66px;
    object-fit: contain;
}

.navbar-light.bg-white .container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-search-shell {
    position: relative;
    flex: 1 1 380px;
    max-width: 420px;
    margin-left: auto;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: #f6f7f9;
    border: 1px solid #dfe3ea;
    border-radius: 999px;
    overflow: hidden;
    min-height: 48px;
}

.header-search-shell.is-open .header-search-form,
.header-search-form:focus-within {
    border-color: rgba(255, 123, 0, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.08);
    background: #fff;
}

.header-search-input {
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    font-size: 0.95rem;
    color: #303030;
    min-width: 0;
}

.header-search-input:focus {
    outline: none;
}

.header-search-button {
    border: 0;
    background: transparent;
    color: #5f6775;
    width: 52px;
    min-width: 52px;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-search-button:hover {
    color: #ff7b00;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.12);
    padding: 0.4rem;
}

.header-search-result {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    color: #303030;
    text-decoration: none;
}

.header-search-result:hover {
    background: #fff3e7;
    color: #f05d00;
    text-decoration: none;
}

.header-search-result-media {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    overflow: hidden;
}

.header-search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-search-result-media-placeholder {
    color: #a6acb8;
    font-size: 1rem;
}

.header-search-result-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.header-search-result-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
}

.header-search-result-meta {
    font-size: 0.82rem;
    color: #6d7480;
}

.header-search-result-meta strong {
    color: #ff7b00;
    font-weight: 700;
}

.header-search-empty {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    color: #6d7480;
}

.header-search-mobile-item {
    width: 100%;
    margin: 0 0 0.75rem;
}

.header-search-shell-mobile {
    display: block;
    max-width: none;
    margin: 0;
}

.navbar-nav li {
    margin-left: 0.35rem;
}

.navbar-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.navbar-nav .fa-shopping-cart {
    font-size: 1rem;
}

.mini-header {
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.mini-header .navbar {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.mini-header .nav-link {
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 0.95rem !important;
    border-radius: 10px;
}

.mini-header .nav-link:hover,
.mini-header .nav-link:focus {
    color: #ffb066 !important;
    background: rgba(255, 255, 255, 0.04);
}

.mini-header .dropdown-menu {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
    padding: 0.45rem;
    min-width: 270px;
    margin-top: 0.2rem;
    background: #ffffff;
}

.mini-header .dropdown-item {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
    color: #303030;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 10px;
    font-weight: 500;
}

.mini-header .dropdown-item:hover,
.mini-header .dropdown-item:focus {
    background: #fff1e3;
    color: #f05d00;
}

.mini-header .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: 0.15rem;
}

.mini-header .dropdown-submenu {
    position: relative;
}

.mini-header .dropdown-submenu-menu {
    top: -0.45rem;
    left: calc(100% + 0.2rem);
    margin-left: 0;
    border-radius: 14px;
    min-width: 250px;
}

.mini-header .submenu-caret {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-top: 1.6px solid currentColor;
    border-right: 1.6px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .navbar-light.bg-white .container {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .header-search-shell {
        width: 100%;
        max-width: none;
    }

    .header-search-form {
        min-height: 46px;
    }

    .header-search-results {
        position: static;
        margin-top: 0.55rem;
        box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
    }
}

.hero-carousel {
    position: relative;
    padding: 20px 0 28px;
}

.hero-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    height: clamp(260px, 34vw, 560px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 18px;
    pointer-events: none;
}

.hero-control {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #303030;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(34, 34, 34, 0.14);
    pointer-events: auto;
}

.hero-control:hover {
    background: #ffffff;
}

.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.hero-dots-wrap {
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(48, 48, 48, 0.18);
}

.hero-dot.is-active {
    background: #ff7b00;
    transform: scale(1.08);
}

.products-placeholder {
    padding: 50px 0 70px;
}

.catalog-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(34, 34, 34, 0.06);
}

.catalog-header {
    margin-bottom: 28px;
}

.catalog-header h1 {
    color: #ff7b00;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.catalog-header p {
    max-width: 900px;
    margin: 0;
    color: #555;
    line-height: 1.8;
}

#proizvodi .catalog-header .products-placeholder-label,
#proizvodi .catalog-search {
    display: none;
}

.catalog-search {
    margin-bottom: 28px;
    padding: 22px 24px;
    border: 1px solid #ffe0c0;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
}

.catalog-search-form {
    display: grid;
    gap: 12px;
}

.catalog-search-label {
    margin: 0;
    color: #303030;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.catalog-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #ffd4aa;
    border-radius: 14px;
    background: #fff;
    color: #303030;
    font-size: 1rem;
}

.catalog-search-input:focus {
    outline: none;
    border-color: #ff7b00;
    box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.12);
}

.catalog-search-button,
.catalog-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 600;
}

.catalog-search-button {
    border: 0;
    background: #ff7b00;
    color: #fff;
}

.catalog-search-button:hover {
    background: #ea6800;
}

.catalog-search-reset {
    border: 1px solid #ffd4aa;
    background: #fff;
    color: #c95f00;
}

.catalog-search-reset:hover {
    color: #ff7b00;
    text-decoration: none;
}

.catalog-search-meta {
    margin: 14px 0 0;
    color: #5e5e5e;
    line-height: 1.6;
}

.catalog-block + .catalog-block {
    margin-top: 34px;
}

.catalog-block-header {
    margin-bottom: 16px;
}

.catalog-block-header h2 {
    color: #303030;
    font-size: 1.4rem;
    font-weight: 700;
}

.products-placeholder-box {
    border: 1px dashed #ffb77c;
    border-radius: 20px;
    background: #fffaf5;
    padding: 32px 24px;
    text-align: center;
}

.products-placeholder-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff1e3;
    color: #f05d00;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cart-page-header {
    text-align: left;
}

.cart-page-header .products-placeholder-label {
    margin-left: 0;
}

.products-placeholder-box h1 {
    color: #ff7b00;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.products-placeholder-box h2 {
    color: #ff7b00;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.products-placeholder-box p {
    max-width: 760px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

.category-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.home-category-card {
    border: 1px solid #eceff3;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-category-card:hover {
    transform: translateY(-2px);
    border-color: #ffd1aa;
    box-shadow: 0 20px 40px rgba(31, 38, 51, 0.08);
}

.home-category-card-link {
    display: block;
    color: inherit;
}

.home-category-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.home-category-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
    overflow: hidden;
}

.home-category-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-card-body {
    padding: 16px 14px 18px;
    text-align: center;
}

.home-category-card-body h3 {
    color: #202733;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.category-browser {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.category-sidebar {
    position: sticky;
    top: 20px;
    padding: 12px 10px;
    border: 1px solid #edf1f5;
    border-radius: 20px;
    background: #fbfcfe;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.category-sidebar-header {
    margin-bottom: 10px;
}

.category-sidebar-header h2 {
    color: #202733;
    font-size: 1rem;
    font-weight: 700;
}

.category-sidebar-nav {
    display: grid;
    gap: 3px;
}

.category-sidebar-level {
    display: grid;
    gap: 3px;
}

.category-sidebar-level.is-child-level {
    padding-left: 9px;
    margin-top: 3px;
    border-left: 1px solid #ebeff4;
}

.category-sidebar-item {
    display: grid;
}

.category-sidebar-children {
    display: none;
}

.category-sidebar-item.is-open > .category-sidebar-children {
    display: block;
}

.category-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 40px;
    padding: 6px 8px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    box-sizing: border-box;
    background: #fff;
    color: #303030;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-sidebar-link:hover {
    color: #ff7b00;
    text-decoration: none;
    border-color: #ffd3ac;
    transform: translateY(-1px);
}

.category-sidebar-link.is-active {
    border-color: #ff7b00;
    color: #ff7b00;
    box-shadow: 0 10px 20px rgba(245, 122, 18, 0.12);
}

.category-sidebar-link.is-current-branch {
    border-color: #ffd3ac;
    color: #c96a10;
    background: #fffaf5;
}

.category-sidebar-link.is-active.is-current-branch {
    border-color: #ff7b00;
    color: #ff7b00;
    background: #fff7ef;
}

.category-sidebar-link-root {
    font-weight: 700;
}

.category-sidebar-link span {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.35;
}

.category-sidebar-node-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 28px;
    min-height: 100%;
    padding: 0;
    margin-left: auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #7c8697;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-sidebar-node-toggle:hover {
    color: #ff7b00;
    transform: translateY(-1px);
}

.category-sidebar-item.is-open > .category-sidebar-link .category-sidebar-node-toggle .category-sidebar-toggle {
    transform: rotate(225deg);
    opacity: 0.95;
}

.category-sidebar-toggle {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-left: 8px;
}

.category-sidebar-group.is-open > .category-sidebar-link-root .category-sidebar-toggle {
    transform: rotate(225deg);
    opacity: 0.95;
}

.category-sidebar-link strong {
    color: #7c8697;
    font-size: 0.7rem;
    font-weight: 700;
}

.category-content {
    min-width: 0;
}

.category-content--full {
    width: 100%;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.catalog-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 18px;
    border: 1px solid #ececec;
    border-radius: 999px;
    color: #1b2b4b;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

.catalog-pagination-link:hover {
    border-color: #ff7b00;
    color: #ff7b00;
    text-decoration: none;
}

.catalog-pagination-status {
    color: #5f6b84;
    font-size: 14px;
    font-weight: 500;
}

.category-content.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.category-content-header {
    min-height: 96px;
}

.category-card,
.product-card {
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.category-card-inner {
    display: block;
    padding: 22px;
    min-height: 130px;
    background: linear-gradient(180deg, #fff7ef 0%, #ffffff 100%);
    color: inherit;
}

.category-card-inner:hover {
    text-decoration: none;
}

.category-card h3,
.product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #303030;
    margin-bottom: 10px;
}

.category-card p {
    margin: 0;
    color: #777;
}

.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 18px;
    background: linear-gradient(135deg, #f83600, #ff7b00 70%);
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.product-thumb.has-image {
    padding: 0;
    background: #fff;
}

.product-thumb img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fff;
}

.product-card-body {
    padding: 20px;
}

.product-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.product-meta strong {
    color: #ff7b00;
    font-size: 1.1rem;
}

.product-card .product-stock-badge {
    align-self: center;
    min-width: auto;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.product-meta span {
    color: #7a7a7a;
    font-size: 0.92rem;
}

.product-link {
    display: inline-block;
    margin-top: 14px;
    color: #ff7b00;
    font-weight: 600;
}

.product-link:hover {
    color: #d86300;
    text-decoration: none;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.2fr);
}

.product-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    color: #7f8693;
    font-size: 0.95rem;
}

.product-breadcrumbs a {
    color: #7f8693;
}

.product-breadcrumbs strong {
    color: #1f2633;
}

.product-top-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.product-top-link,
.product-stock-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e6e9ef;
    background: #fff;
    color: #202733;
    font-weight: 600;
}

.product-top-link.is-muted {
    color: #7f8693;
}

.product-stock-trigger {
    margin-left: auto;
    background: #fff4e9;
    border-color: #ffd6af;
    color: #d86400;
}

.product-detail-promobox {
    align-items: start;
}

.product-detail-gallery {
    display: grid;
    gap: 16px;
    max-width: 640px;
}

.product-gallery-stage,
.product-stage-frame {
    border: 1px solid #ebeff4;
    border-radius: 24px;
    background: #fff;
    min-height: 500px;
    
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-stage-frame img {
    display: block;
    width: 88%;
    max-height: 500px;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.product-gallery-thumb {
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
    border-color: #f57a12;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(245, 122, 18, 0.12);
}

.product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: contain;
}

.product-variant-strip {
    padding: 22px;
    border: 1px solid #ebeff4;
    border-radius: 24px;
    background: #fff;
}

.product-variant-strip-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.product-variant-strip-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #202733;
}

.product-variant-strip-header span {
    color: #7f8693;
    font-size: 0.92rem;
}

.product-variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 10px;
}

.product-variant-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-variant-card:hover,
.product-variant-card.is-active {
    border-color: #f57a12;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(245, 122, 18, 0.12);
}

.product-variant-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    border-radius: 12px;
    background: #fbfcfe;
    overflow: hidden;
}

.product-variant-image img {
    display: block;
    width: 100%;
    height: 86px;
    object-fit: contain;
}

.product-variant-image span {
    color: #7f8693;
    font-size: 0.9rem;
}

.product-variant-content {
    display: grid;
    gap: 4px;
}

.product-variant-content strong {
    color: #202733;
    font-size: 0.9rem;
}

.product-variant-content span {
    color: #7f8693;
    font-size: 0.82rem;
}

.product-detail-image,
.product-detail-image-placeholder {
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    display: block;
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    background: #fff;
}

.product-detail-info h1 {
    color: #303030;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-summary-card {
    position: sticky;
    top: 24px;
    padding: 20px 22px;
    border: 1px solid #ebeff4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(25, 32, 46, 0.06);
}

.product-summary-top h1 {
    margin-bottom: -25px;
}

.product-summary-top-promobox {
    margin-bottom: 12px;
    text-align: left;
}

.product-code-line {
    display: grid;
    gap: 6px;
    justify-items: start;
}

.product-code-label {
    color: #202733;
    font-size: 0.92rem;
    font-weight: 700;
}

.product-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff4e9;
    color: #d86400;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-summary-subtitle {
    margin: 0 0 10px;
    color: #5d6675;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-summary-description {
    margin: 0 0 12px;
    color: #495468;
    font-size: 0.92rem;
    line-height: 1.45;
}

.product-hierarchy-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #7f8693;
    font-size: 0.8rem;
}

.product-hierarchy-line span {
    color: #5d6675;
}

.product-hierarchy-line i {
    font-style: normal;
    color: #b0b7c3;
}

.product-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-summary-meta span {
    padding: 9px 12px;
    border-radius: 12px;
    background: #f7f9fc;
    color: #4b5565;
    font-size: 0.92rem;
}

.product-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.product-option-block {
    margin: 0 0 12px;
}

.product-option-block h3 {
    margin: 0 0 4px;
    font-size: 0.86rem;
    color: #202733;
}

.product-detail-info .product-option-block {
    margin-bottom: 10px;
}

.product-detail-info .product-option-block h3 {
    margin-bottom: -20px;
}

.product-detail-info .product-color-grid,
.product-detail-info .product-size-grid,
.product-detail-info .product-size-card {
    margin-top: 0;
}

.product-detail-info .product-option-block-colors {
    margin-bottom: 6px;
}

.product-detail-info .product-option-block-sizes {
    margin-top: 42px;
}

.product-detail-info .product-option-block-sizes h3 {
    margin-bottom: -20px;
}

.product-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(58px, 58px));
    gap: 10px;
}

.product-color-grid-stock {
    grid-template-columns: repeat(auto-fit, minmax(82px, 82px));
    gap: 12px;
}

.product-color-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border: 1px solid #e6e9ef;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-color-option.has-stock {
    width: 82px;
    height: auto;
    min-height: 102px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    box-shadow: none;
    transform: none;
}

.product-color-option:hover {
    border-color: #d8dee8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(31, 38, 51, 0.08);
}

.product-color-option.has-stock:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.product-color-option.is-active {
    border-color: #f57a12;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(245, 122, 18, 0.14);
}

.product-color-option.has-stock.is-active {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.product-color-option-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border: 1px solid #e6e9ef;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-color-option.has-stock .product-color-option-frame {
    width: 82px;
    height: 82px;
}

.product-color-option:hover .product-color-option-frame {
    border-color: #d8dee8;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(31, 38, 51, 0.08);
}

.product-color-option.is-active .product-color-option-frame {
    border-color: #f57a12;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(245, 122, 18, 0.14);
}

.product-color-option img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.product-color-option span {
    color: #7f8693;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-color-option-stock {
    display: block;
    color: #5f6f86;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.product-size-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    background: #fff;
}

.product-size-card span {
    color: #202733;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-size-card strong {
    color: #d86400;
    font-size: 0.82rem;
}

.product-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
    gap: 10px;
}

.product-size-option {
    display: grid;
    gap: 4px;
    align-content: center;
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
    color: #202733;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-size-option:hover,
.product-size-option.is-active {
    border-color: #f57a12;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(245, 122, 18, 0.12);
}

.product-size-option span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #202733;
}

.product-size-option strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: #d86400;
}

.product-usb-variants-section {
    margin-top: 26px;
}

.product-option-block-compact {
    margin-bottom: 14px;
}

.product-color-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-color-option-compact {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 4px;
    border-radius: 12px;
}

.product-color-option-compact img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.product-color-option-compact span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #202733;
}

.product-usb-table-wrap {
    overflow-x: auto;
}

.product-usb-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
}

.product-usb-table th,
.product-usb-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf1f5;
    border-right: 1px solid #edf1f5;
    vertical-align: middle;
    text-align: center;
    background: #fff;
}

.product-usb-table thead th {
    background: #f8fafc;
    color: #202733;
    font-size: 0.94rem;
    font-weight: 700;
}

.product-usb-table thead th:first-child,
.product-usb-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fffaf5;
}

.product-usb-table tbody th {
    color: #202733;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: left;
}

.product-usb-table tr:first-child th:first-child {
    border-top-left-radius: 16px;
}

.product-usb-table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.product-usb-cell {
    display: grid;
    gap: 8px;
    justify-items: center;
    min-width: 120px;
    padding: 10px 8px;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    background: #fff;
    color: #202733;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-usb-cell:hover,
.product-usb-cell.is-active {
    border-color: #f57a12;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(245, 122, 18, 0.12);
}

.product-usb-cell img {
    display: block;
    width: 72px;
    height: 52px;
    object-fit: contain;
}

.product-usb-cell strong {
    color: #202733;
    font-size: 0.92rem;
}

.product-usb-cell span {
    color: #d86400;
    font-size: 0.84rem;
    font-weight: 600;
}

.product-usb-cell-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 94px;
    color: #a1a8b3;
    background: #f8fafc;
    border-style: dashed;
}

.product-usb-table-wrap-compact {
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    overflow: hidden;
}

.product-usb-table-compact {
    min-width: 100%;
}

.product-usb-table-compact th,
.product-usb-table-compact td {
    padding: 12px 14px;
    border-right: 0;
    text-align: left;
}

.product-usb-table-compact thead th {
    background: #fbfbfc;
    color: #0f2347;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-usb-table-compact tbody th,
.product-usb-table-compact thead th:first-child {
    position: static;
    background: #fbfbfc;
}

.product-usb-table-compact tbody tr:last-child td,
.product-usb-table-compact tbody tr:last-child th {
    border-bottom: 0;
}

.product-usb-row-link {
    color: #0f2347;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-usb-row-link:hover,
.product-usb-row-link.is-active {
    color: #f57a12;
    text-decoration: underline;
}

.product-anchor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #e4e9f0;
    border-radius: 999px;
    color: #2b3442;
    font-weight: 600;
}

.product-anchor-link:hover {
    border-color: #ff7b00;
    color: #ff7b00;
    text-decoration: none;
}

.product-stock-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e8edf3;
}

.product-stock-box strong,
.product-stock-box span {
    display: block;
}

.product-stock-box span {
    margin-top: 2px;
    color: #6b7280;
    font-size: 0.9rem;
}

.product-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff1f1;
    color: #b91c1c;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-stock-badge.in-stock {
    background: #eefbf2;
    color: #177245;
}

.product-detail-price {
    color: #ff7b00;
    font-size: 1.38rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-detail-description {
    white-space: pre-wrap;
    font-family: "Poppins", sans-serif;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #555;
    background: #fffaf5;
    border: 1px solid #ffe2c5;
    border-radius: 14px;
    padding: 16px;
}

.add-to-cart-form {
    margin-top: 12px;
}

.add-to-cart-card {
    margin-top: 0;
}

.add-to-cart-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.add-to-cart-row input[type="number"] {
    width: 96px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.product-sections {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.product-info-section {
    padding: 28px;
    border: 1px solid #ebeff4;
    border-radius: 24px;
    background: #fff;
}

.product-specs-compact {
    padding: 0;
    overflow: hidden;
}

.product-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 0;
    background: #fff;
    color: #102347;
    text-align: left;
}

.product-section-toggle-text {
    display: grid;
    gap: 4px;
}

.product-section-toggle-text strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-section-toggle-icon {
    color: #7f8693;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.product-section-toggle.is-open .product-section-toggle-icon {
    transform: rotate(0deg);
}

.product-section-toggle:not(.is-open) .product-section-toggle-icon {
    transform: rotate(180deg);
}

.product-specs-body {
    padding: 0 18px 18px;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
}

.product-specs-column {
    display: grid;
    gap: 24px;
}

.product-specs-group h3 {
    margin: 0 0 10px;
    color: #102347;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-specs-table {
    border-top: 1px solid #edf1f5;
}

.product-specs-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(170px, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f5;
}

.product-specs-row span {
    color: #657086;
    font-size: 0.94rem;
}

.product-specs-row strong {
    color: #102347;
    font-size: 0.94rem;
    font-weight: 600;
    text-align: right;
}

.product-specs-print {
    padding-top: 6px;
}

.product-specs-print p {
    margin: 0;
    color: #102347;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.7;
}

.product-print-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.product-print-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf1f5;
    border-radius: 16px;
    background: #fbfcfe;
}

.product-print-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    min-height: 88px;
}

.product-print-card-media img {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: contain;
}

.product-print-card-body {
    display: grid;
    gap: 4px;
    align-content: center;
}

.product-print-card-body strong {
    color: #102347;
    font-size: 0.95rem;
    font-weight: 700;
}

.product-print-card-body span {
    color: #5c667b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.product-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.product-section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1f2633;
}

.product-section-header span {
    color: #7f8693;
    font-size: 0.95rem;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.product-info-row {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f9fbfd;
    border: 1px solid #edf1f5;
}

.product-info-row span {
    color: #7f8693;
    font-size: 0.92rem;
}

.product-info-row strong {
    color: #202733;
    font-size: 1rem;
}

.product-description-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-description-single {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
}

.product-description-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff8f0;
    border: 1px solid #ffe2c5;
    color: #4b5563;
    line-height: 1.7;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 24px;
}

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 220px;
    gap: 18px;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
}

.cart-item-media img,
.cart-item-placeholder {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-info h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: left;
}

.cart-item-info h2 a {
    color: #303030;
}

.cart-item-info {
    text-align: left;
}

.cart-item-info p {
    margin: 0 0 8px;
    color: #666;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
}

.cart-qty-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-qty-form input[type="number"] {
    width: 76px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.cart-summary {
    padding: 24px;
    border-radius: 18px;
    background: #fff7ef;
    border: 1px solid #ffd9bd;
    height: fit-content;
}

.cart-summary h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ffd9bd;
}

.cart-checkout-btn {
    margin-top: 18px;
}

.cart-remove-btn {
    min-width: 0;
    background: transparent;
    border-color: #ffcf99;
    color: #7a2d00;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
    gap: 30px;
    align-items: start;
}

.checkout-form-shell,
.checkout-summary-shell {
    font-family: "Poppins", sans-serif;
    background: #fff;
    border: 1px solid #ffe2c5;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(34, 34, 34, 0.06);
}

.checkout-page-header {
    text-align: left;
}

.checkout-page-header h1 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.checkout-page-header .products-placeholder-label {
    display: none;
}

.checkout-required-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: -4px;
    color: #7a7a7a;
    font-size: 0.92rem;
}

.checkout-form {
    display: grid;
    gap: 16px;
}

.checkout-field label,
.checkout-radios span {
    display: block;
    margin-bottom: 6px;
    color: #272727;
    font-weight: 600;
    font-size: 0.96rem;
}

.checkout-radios span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.required-mark {
    color: #dc2626;
    font-weight: 700;
}

.checkout-field input,
.checkout-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
}

.checkout-field textarea {
    resize: vertical;
    min-height: 120px;
}

.checkout-radios,
.checkout-checkbox,
.checkout-legal {
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}

.checkout-radios-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 420px;
}

.checkout-radios-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.checkout-payment-info {
    display: none;
    margin: -2px 0 2px;
    padding: 14px 16px;
    background: #fff7ef;
    border: 1px solid #ffd3a8;
    border-radius: 12px;
    color: #6b4d2e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.checkout-payment-info strong {
    display: block;
    margin-bottom: 6px;
    color: #272727;
}

.checkout-company-fields {
    display: grid;
    gap: 16px;
    padding: 18px;
    background: #fff9f3;
    border: 1px solid #ffe0c0;
    border-radius: 16px;
}

.checkout-submit-btn {
    width: 100%;
}

.checkout-summary-shell h2 {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.checkout-summary-item {
    display: grid;
    gap: 5px;
    padding: 14px 0;
    border-bottom: 1px solid #ffe2c5;
    color: #5a5149;
    font-size: 0.94rem;
}

.checkout-legal {
    margin-top: 4px;
    padding: 16px 18px;
    background: #fff8f1;
    border: 1px solid #ffd5ab;
    border-radius: 12px;
}

.checkout-legal-note {
    display: block;
    margin-top: 8px;
    color: #8a5a20;
    font-size: 0.92rem;
}

.checkout-summary-item strong {
    color: #1d1d1d;
}

.checkout-summary-totals {
    margin: 22px 0;
}

.btn {
    background-color: #ff7b00;
    color: #fff;
    min-width: 120px;
    border: 2px solid #ff7b00;
    font-weight: 600;
}

.btn:hover {
    background-color: transparent;
    border-color: #ff7b00;
    color: #ff7b00;
}

.btn-outline-light {
    background: #ffcf99;
    border-color: #ffcf99;
    color: #7a2d00;
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: #f05d00;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f83600, #ff7b00 70%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(248, 84, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

footer {
    position: relative;
    padding: 0;
    width: 100%;
    height: auto;
    font-size: 0.938em;
    color: #fff;
    float: none;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-gradient {
    background: linear-gradient(to right, #f83600, #ff7b00 70%);
}

footer ul {
    padding: 0;
}

footer li {
    list-style-type: none;
    padding: 4px 0;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer a:hover {
    text-decoration: none;
    color: #ffe1c2;
}

footer h3 {
    color: #ffffff;
    border-bottom: 2px solid #fff;
    font-size: 1.375em;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

footer .sadrzaj {
    padding: 40px 0;
}

.copyright {
    border-top: 1px solid #fff;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    color: #fff;
}

.copyright p {
    margin: 0;
    padding: 10px 0;
}

@media (max-width: 991px) {
    .products-placeholder-box h1 {
        font-size: 1.8rem;
    }

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

    .category-browser {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-summary-card {
        position: static;
    }

    .product-stock-trigger {
        margin-left: 0;
    }

    .product-gallery-stage,
    .product-stage-frame {
        min-height: 420px;
    }

    .product-variant-strip-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .product-info-grid,
    .product-description-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .site-logo {
        width: 170px;
        height: 51px;
    }

    .hero-controls {
        padding: 0 10px;
    }

    .hero-control {
        width: 38px;
        height: 38px;
    }

    .hero-dots {
        gap: 7px;
    }

    .hero-dot {
        width: 9px;
        height: 9px;
    }

    .hero-image {
        height: 100%;
    }

    .products-placeholder {
        padding: 6px 0 56px;
    }

    .catalog-shell {
        padding: 22px 16px;
    }

    .products-placeholder-box {
        padding: 30px 20px;
    }

    .catalog-search {
        padding: 18px 16px;
    }

    .catalog-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-search-button,
    .catalog-search-reset {
        width: 100%;
    }

    .category-grid,
    .home-category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-actions {
        align-items: stretch;
    }

    .cart-qty-form,
    .add-to-cart-row {
        flex-direction: column;
        align-items: stretch;
    }

    .product-summary-card,
    .product-info-section {
        padding: 22px 18px;
    }

    .product-specs-compact {
        padding: 0;
    }

    .product-section-toggle {
        padding: 16px 18px;
    }

    .product-specs-body {
        padding: 0 14px 16px;
    }

    .product-specs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-specs-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .product-specs-row strong {
        text-align: left;
    }

    .product-print-card {
        grid-template-columns: 1fr;
    }

    .product-print-card-media img {
        height: 120px;
    }

    .product-top-actions {
        gap: 10px;
    }

    .product-top-link,
    .product-stock-trigger {
        min-height: 40px;
        padding: 0 14px;
    }

    .product-gallery-stage,
    .product-stage-frame {
        min-height: 320px;
    }

    .product-gallery-thumb img {
        height: 72px;
    }

    .product-variant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-usb-table {
        min-width: 620px;
    }

    .product-usb-table th,
    .product-usb-table td {
        padding: 10px 8px;
    }

    .product-usb-cell {
        min-width: 92px;
        padding: 8px 6px;
    }

    .product-usb-cell img {
        width: 60px;
        height: 42px;
    }

    .product-usb-table-compact th,
    .product-usb-table-compact td {
        padding: 10px 10px;
    }

    .product-size-grid {
        grid-template-columns: 1fr;
    }

    .product-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (min-width: 992px) {
    .mini-header .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .mini-header .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .mini-header .dropdown-submenu-menu {
        position: static;
        float: none;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        padding: 0.2rem 0 0.2rem 0.85rem;
        margin-left: 0;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 96%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 94%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1680px;
    }
}

@media (max-width: 991px) {
    .hero-slider {
        height: clamp(240px, 42vw, 440px);
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: clamp(220px, 48vw, 320px);
    }
}
