:root {
    --optstory-accent: #f6a225;
    --optstory-ink: #222831;
    --optstory-muted: #6b7280;
    --optstory-line: #e7e2da;
    --optstory-soft: #f7f5f1;
}

body {
    color: var(--optstory-ink);
}

.wp-store-preloader {
    pointer-events: none !important;
}

body.optstory-preloader-ready .wp-store-preloader,
body.optstory-preloader-timeout .wp-store-preloader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

body:not(.home) ul.new-prod-slide {
    display: block !important;
}

body:not(.home) ul.new-prod-slide > li.product {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 0 14px !important;
    margin: 0 0 14px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}

body:not(.home) ul.new-prod-slide > li.product .product-title {
    min-height: 0 !important;
    font-size: 13px !important;
}

.top-header {
    background: #f3f3f3;
    border-bottom: 1px solid #e8e8e8;
}

.top-header .account-wrap {
    text-align: right;
}

.top-header .account-wrap a {
    color: #4b5563;
    font-size: 13px;
}

.buttom-header .ed-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 0 !important;
    padding: 22px 0 18px;
}

.site-branding .site-logo {
    display: none !important;
}

.buttom-header .site-branding,
.buttom-header .wrap-right {
    float: none !important;
    display: flex;
    align-items: center;
    width: auto !important;
}

.buttom-header .site-branding .site-title {
    color: var(--optstory-accent);
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.buttom-header .site-branding .site-text a {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    max-width: 560px;
    text-decoration: none;
}

.optstory-menu-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 4px;
}

.optstory-menu-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 22px;
    padding: 3px 9px;
    background: #c92525;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.buttom-header .site-branding .site-description {
    flex: 0 0 100%;
    color: #5d6673;
    font-size: 14px;
    line-height: 1.45;
    margin-top: 4px;
}

.wrap-right {
    gap: 30px;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.optstory-desktop-search {
    display: flex;
    flex: 0 1 470px;
    gap: 8px;
    align-items: center;
    min-width: 360px;
}

.optstory-desktop-search form {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.optstory-desktop-search input[type="search"] {
    width: 100%;
    height: 42px;
    padding: 0 46px 0 13px;
    border: 1px solid #e4ded4;
    border-radius: 6px;
    background: #fff;
    color: var(--optstory-ink);
    font-size: 14px;
    line-height: 42px;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.optstory-desktop-search input[type="search"]::placeholder {
    color: #7b8491;
    opacity: 1;
}

.optstory-desktop-search button {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--optstory-accent);
    color: #111827;
    font-size: 14px;
    line-height: 1;
}

.wrap-right .header-call-to,
.wrap-right .header-cart {
    padding: 0 0 0 34px !important;
    min-height: 42px;
    box-sizing: border-box;
}

.wrap-right .header-call-to {
    flex: 0 0 176px;
    width: 176px !important;
}

.wrap-right .header-cart {
    flex: 0 0 auto;
}

.wrap-right .fa {
    color: #9ca3af;
}

.header-cart .cart-title,
.header-call-to p {
    color: var(--optstory-ink);
    font-size: 13px;
    line-height: 1.25;
    text-transform: none;
    white-space: nowrap;
}

.header-cart .cart-content {
    display: block;
    min-width: 0;
}

.header-cart .count {
    display: grid !important;
    grid-template-columns: auto auto;
    grid-template-areas:
        "title title"
        "qty total";
    column-gap: 4px;
    align-items: baseline;
    min-width: 0;
    padding: 0 !important;
    position: static !important;
}

.header-cart .count .fa {
    display: none !important;
}

.header-cart .cart-title {
    grid-area: title;
    display: block !important;
    position: static !important;
    transform: none !important;
}

.header-cart .cart-count {
    grid-area: qty;
    display: inline-block !important;
    position: static !important;
    color: #9ca3af;
    line-height: 1.2;
    transform: none !important;
}

.header-cart .cart-total {
    grid-area: total;
    display: inline-block !important;
    position: static !important;
    color: var(--optstory-ink);
    font-weight: 700;
    line-height: 1.2;
    transform: none !important;
}

.header-cart .amount {
    white-space: nowrap;
}

.header-call-to > .fa {
    color: var(--optstory-accent);
}

.header-call-to .optstory-header-lines a {
    display: inline-block;
    color: var(--optstory-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.menu-wrap {
    border-top: 1px solid var(--optstory-line);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}

.main-navigation a {
    color: #374151;
    font-size: 14px;
}

.main-navigation li.current-menu-item > a,
.main-navigation a:hover {
    color: var(--optstory-accent);
}

#primary,
.sidebar,
.woocommerce-page .shop-sidebar {
    margin-top: 24px;
}

.home #primary {
    margin-top: 28px;
}

.home #product-area-section.optstory-empty-section,
.home #brand-section.optstory-empty-section,
.home #widget-area-one-section.optstory-empty-section,
.home #widget-area-two-section.optstory-empty-section {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home #product-area-section:has(ul.new-prod-slide:empty),
.home #brand-section,
.home #widget-area-one-section:not(:has(.widget)),
.home #widget-area-two-section:not(:has(.widget)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home #widget-icon-section {
    margin: 20px 0 30px;
}

.optstory-b2b-home {
    margin: 0 0 18px;
    padding: 22px 28px 20px;
    background: #fff;
    border: 1px solid var(--optstory-line);
    border-radius: 6px;
}

.optstory-b2b-home__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 24px;
    align-items: center;
}

.optstory-b2b-home__eyebrow {
    margin: 0 0 8px;
    color: #8a641e;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.optstory-b2b-home h1 {
    margin: 0 0 8px;
    color: var(--optstory-ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.optstory-b2b-home__lead {
    max-width: 680px;
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.55;
}

.optstory-b2b-home__actions,
.optstory-b2b-home__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.optstory-b2b-home__actions {
    margin-bottom: 18px;
}

.optstory-b2b-home__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #d89322;
    border-radius: 5px;
    background: var(--optstory-accent);
    color: #111827 !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
}

.optstory-b2b-home__button--ghost {
    background: #fff;
    border-color: var(--optstory-line);
    color: var(--optstory-ink) !important;
}

.optstory-b2b-home__quick {
    margin: 0;
    padding: 0;
    list-style: none;
}

.optstory-b2b-home__quick a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    background: var(--optstory-soft);
    border: 1px solid #ede5da;
    border-radius: 5px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

.optstory-b2b-home__quick a:hover {
    border-color: #f1c27a;
    color: #111827;
}

.optstory-b2b-home__facts {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.optstory-b2b-home__facts li {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    color: #374151;
    font-size: 14px;
    line-height: 1.35;
}

.optstory-b2b-home__facts li:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--optstory-accent);
}

.optstory-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 26px;
    margin: 0 0 6px;
}

.optstory-product-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    background: #f8f6f2;
    border: 1px solid #eee4d7;
    border-radius: 4px;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
}

.woocommerce ul.products li.product .product-title.optstory-product-title-polished,
.woocommerce-page ul.products li.product .product-title.optstory-product-title-polished,
ul.new-prod-slide > li.product .product-title.optstory-product-title-polished {
    min-height: 38px;
    margin-bottom: 6px !important;
}

.widget-title,
.section-title,
.woocommerce-products-header__title,
.page-title,
.entry-title {
    color: var(--optstory-ink);
    letter-spacing: 0;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.woocommerce ul.products:before,
.woocommerce ul.products:after,
.woocommerce-page ul.products:before,
.woocommerce-page ul.products:after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid var(--optstory-line);
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    border-color: #f1c27a;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.09);
    transform: translateY(-1px);
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.wrap-image-sale img {
    width: 100% !important;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: var(--optstory-soft);
    border-radius: 4px;
}

.woocommerce ul.products li.product .product-title,
.woocommerce-page ul.products li.product .product-title,
.woocommerce-loop-product__title {
    color: var(--optstory-ink);
    font-size: 14px !important;
    line-height: 1.32;
    min-height: 56px;
    margin: 10px 0 6px !important;
    word-break: normal;
    overflow-wrap: anywhere;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    color: var(--optstory-ink);
    font-size: 15px;
    font-weight: 700;
    min-height: 24px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.button,
.added_to_cart {
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 9px 10px;
}

.woocommerce span.onsale,
.onsale {
    background: var(--optstory-accent);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

body.single-product .woocommerce-breadcrumb {
    display: block;
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

body.single-product #primary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-product .shop-sidebar,
body.single-product .sidebar {
    display: none !important;
}

body.single-product div.product {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
    gap: 34px;
    align-items: start;
}

body.single-product div.product:before,
body.single-product div.product:after {
    display: none;
}

body.single-product div.product .onsale {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 0 -14px;
    position: static;
}

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
    float: none !important;
    width: auto !important;
}

body.single-product div.product .woocommerce-product-gallery {
    margin: 0 !important;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--optstory-line);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

body.single-product div.product .woocommerce-product-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--optstory-soft);
    border-radius: 4px;
}

body.single-product div.product .summary {
    margin: 0 !important;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--optstory-line);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

body.single-product div.product .product_title {
    margin: 0 0 10px;
    color: var(--optstory-ink);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
}

.optstory-single-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.optstory-single-product-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    background: #f8f6f2;
    border: 1px solid #eee4d7;
    border-radius: 5px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

body.single-product div.product .summary .price {
    margin: 0 0 14px;
    color: var(--optstory-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

body.single-product div.product .summary .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins,
ul.new-prod-slide > li.product .price ins,
li.product .woocs_price_code ins {
    text-decoration: none;
}

body.single-product div.product .summary .stock {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 18px;
    padding: 5px 10px;
    background: #f0f8ec;
    border: 1px solid #d5ebc8;
    border-radius: 5px;
    color: #4f7d1f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

body.single-product div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    margin: 0 0 18px;
}

body.single-product div.product form.cart .quantity {
    margin: 0 !important;
}

body.single-product div.product form.cart .qty {
    width: 76px;
    min-height: 42px;
    border: 1px solid var(--optstory-line);
    border-radius: 5px;
    color: var(--optstory-ink);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

body.single-product div.product form.cart .single_add_to_cart_button {
    flex: 1 1 220px;
    min-height: 42px;
    padding: 10px 16px;
    background: var(--optstory-accent);
    border: 1px solid #d89322;
    border-radius: 5px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

body.single-product div.product .product_meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--optstory-line);
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

body.single-product div.product .product_meta a {
    color: var(--optstory-ink);
    font-weight: 700;
    text-decoration: none;
}

body.single-product .related.products {
    grid-column: 1 / -1;
    margin-top: 4px;
}

body.single-product .related.products h2 {
    margin: 8px 0 16px;
    color: var(--optstory-ink);
    font-size: 22px;
    line-height: 1.2;
}

body.woocommerce-shop .site-content .ed-container {
    align-items: flex-start;
}

body.woocommerce-shop .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
    display: none;
}

body.woocommerce-shop .page-title,
body.tax-product_cat .page-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

body.woocommerce-shop #alg_wc_products_per_page,
body.tax-product_cat #alg_wc_products_per_page {
    width: 96px !important;
    height: 34px;
    margin-left: 8px;
    padding: 0 28px 0 10px;
    border: 1px solid var(--optstory-line);
    border-radius: 4px;
    background: #fff;
}

body.woocommerce-shop .wp-store-products,
body.tax-product_cat .wp-store-products {
    margin-top: 18px;
}

body.woocommerce-shop ul.products li.product-category,
body.tax-product_cat ul.products li.product-category {
    min-height: 242px;
    padding: 0;
    overflow: hidden;
}

body.woocommerce-shop ul.products li.product-category a,
body.tax-product_cat ul.products li.product-category a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 242px;
    padding: 0;
    color: var(--optstory-ink);
    text-decoration: none;
    background: #fff;
}

body.woocommerce-shop ul.products li.product-category img,
body.tax-product_cat ul.products li.product-category img {
    display: block !important;
    width: 100% !important;
    height: 178px !important;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
    background: var(--optstory-soft);
    border-radius: 6px 6px 0 0;
}

body.woocommerce-shop ul.products li.product-category img.optstory-category-image-hydrated,
body.tax-product_cat ul.products li.product-category img.optstory-category-image-hydrated {
    background: #f7f5f1;
}

body.woocommerce-shop .woocommerce-loop-category__title,
body.tax-product_cat .woocommerce-loop-category__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: auto;
    margin: 0 !important;
    padding: 14px 15px;
    color: var(--optstory-ink);
    font-size: 16px !important;
    line-height: 1.25;
    text-align: left;
    font-weight: 800;
}

body.woocommerce-shop .woocommerce-loop-category__title .count,
body.tax-product_cat .woocommerce-loop-category__title .count {
    float: none;
    flex: 0 0 auto;
    min-width: 44px;
    padding: 3px 8px;
    background: #fff;
    border: 1px solid var(--optstory-line);
    border-radius: 999px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.shop-sidebar .widget_product_categories {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--optstory-line);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

.shop-sidebar .widget_product_categories .widget-title {
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--optstory-line);
}

.shop-sidebar .widget_product_categories .widget-title span {
    color: var(--optstory-ink);
    font-size: 16px;
    line-height: 1.2;
}

.shop-sidebar .product-categories,
.shop-sidebar .product-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-sidebar .product-categories > li {
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f0ebe3;
}

.shop-sidebar .product-categories > li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.shop-sidebar .product-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    color: #374151;
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
}

.shop-sidebar .product-categories li:before,
.shop-sidebar .product-categories li:after,
.shop-sidebar .product-categories a:before,
.shop-sidebar .product-categories a:after {
    display: none !important;
    content: none !important;
}

.shop-sidebar .product-categories > li > a {
    color: var(--optstory-ink);
    font-weight: 700;
}

.shop-sidebar .product-categories .children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.shop-sidebar .product-categories .children li {
    margin: 0;
}

.shop-sidebar .product-categories .children a {
    min-height: 24px;
    padding: 4px 8px;
    background: var(--optstory-soft);
    border: 1px solid transparent;
    border-radius: 999px;
    color: #4b5563;
    font-size: 12px;
}

.shop-sidebar .product-categories a:hover {
    color: var(--optstory-accent);
}

body.woocommerce-page .shop-sidebar .widget_shopping_cart,
body.woocommerce-page .shop-sidebar .widget_products,
body.woocommerce-page .sidebar .widget_shopping_cart,
body.woocommerce-page .sidebar .widget_products,
body.post-type-archive-product .shop-sidebar .widget_shopping_cart,
body.post-type-archive-product .shop-sidebar .widget_products,
body.tax-product_cat .shop-sidebar .widget_shopping_cart,
body.tax-product_cat .shop-sidebar .widget_products,
body.search-results.woocommerce .shop-sidebar .widget_shopping_cart,
body.search-results.woocommerce .shop-sidebar .widget_products {
    display: none !important;
}

.site-footer {
    background: #25282d;
    color: #e5e7eb;
}

.site-footer a {
    color: #fff;
}

.site-footer .widget-title span {
    color: #fff;
}

.top-footer {
    padding: 34px 0 28px;
}

.site-footer .top-footer .ed-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 58px;
    align-items: start;
}

.top-footer .footer-block {
    float: none !important;
    width: auto !important;
    min-width: 0;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.65;
}

.top-footer .footer-block p {
    margin: 0 0 12px;
}

.top-footer .footer-block .widget-title {
    margin: 0 0 18px;
}

.top-footer .footer-block .widget-title span {
    font-size: 16px;
    letter-spacing: 0;
}

.site-footer .top-footer .footer-block-four {
    grid-column: 1 / -1;
    order: -1;
}

.site-footer .top-footer .footer-block-four .widget-title {
    margin-bottom: 12px;
}

.site-footer .top-footer .footer-block-one {
    grid-column: 1;
    grid-row: 2;
}

.site-footer .top-footer .footer-block-two {
    grid-column: 2;
    grid-row: 2;
}

.site-footer .top-footer .footer-block-three {
    grid-column: 3;
    grid-row: 2;
}

.optstory-footer-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}

.optstory-footer-lines li {
    margin: 0 0 8px;
}

.optstory-footer-lines strong {
    color: #fff;
}

.optstory-footer-social {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: start;
}

.optstory-footer-social li {
    display: block;
    min-width: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}

.optstory-footer-social strong,
.optstory-footer-social a {
    display: block;
    min-width: 0;
}

.optstory-footer-social strong {
    white-space: normal;
}

.optstory-footer-social a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer .optstory-footer-contact a {
    color: #fff;
    text-decoration: none;
}

.optstory-header-social,
.optstory-footer-social a {
    color: #f6a225 !important;
    font-weight: 700;
    text-decoration: none;
}

.optstory-header-social {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
}

.optstory-header-socials {
    display: block;
}

.header-call-to .optstory-header-lines a {
    display: block;
    color: var(--optstory-ink);
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

body.page-id-154 .page-content .optstory-contact-list {
    margin: 18px 0 28px;
    padding: 0;
    list-style: none;
}

body.page-id-154 .page-content,
body.page-id-9079 .page-content,
body.page-id-10381 .page-content {
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

body.page-id-154 #primary,
body.page-id-154 #primary.content-area,
body.page-id-9079 #primary,
body.page-id-9079 #primary.content-area,
body.page-id-10381 #primary,
body.page-id-10381 #primary.content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.page-id-154 #secondary,
body.page-id-154 #secondary-left,
body.page-id-154 #secondary-right,
body.page-id-154 .site-content > .ed-container > aside.widget-area,
body.page-id-154 .site-content > .ed-container > .widget-area,
body.page-id-9079 #secondary,
body.page-id-9079 #secondary-left,
body.page-id-9079 #secondary-right,
body.page-id-9079 .site-content > .ed-container > aside.widget-area,
body.page-id-9079 .site-content > .ed-container > .widget-area,
body.page-id-10381 #secondary,
body.page-id-10381 #secondary-left,
body.page-id-10381 #secondary-right,
body.page-id-10381 .site-content > .ed-container > aside.widget-area,
body.page-id-10381 .site-content > .ed-container > .widget-area {
    display: none !important;
}

body.page-id-154 .page-content pre,
body.page-id-154 .page-content .tw-data-text,
body.page-id-10381 .page-content pre,
body.page-id-10381 .page-content .tw-data-text {
    max-width: 100%;
    margin: 0 0 12px;
    padding: 0;
    overflow: visible;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
}

body.page-id-154 .page-content .optstory-contact-list li {
    margin: 0 0 10px;
    line-height: 1.55;
}

body.page-id-154 .page-content .optstory-contact-list strong {
    color: var(--optstory-ink);
}

body.page-id-154 .page-content .optstory-contact-list a {
    color: var(--optstory-accent);
    font-weight: 700;
    text-decoration: none;
}

body.page-id-9079 .page-content .optstory-info-page,
body.page-id-10381 .page-content .optstory-info-page {
    max-width: 860px;
    margin: 0 0 34px;
}

body.page-id-9079 .page-content .optstory-info-page p,
body.page-id-10381 .page-content .optstory-info-page p {
    margin: 0 0 18px;
    color: var(--optstory-ink);
    font-size: 16px;
    line-height: 1.75;
}

body.page-id-10381 .page-content .optstory-info-page h2 {
    margin: 22px 0 10px;
    color: var(--optstory-ink);
    font-size: 22px;
    line-height: 1.25;
}

body.page-id-10381 .page-content .optstory-info-page h2:first-child {
    margin-top: 0;
}

.site-info {
    background: #1f2227;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-info .copyright-text {
    color: transparent;
    font-size: 0;
}

.site-info .copyright-text:after {
    content: "OPT STORY. Одяг оптом для магазинів України.";
    color: #d1d5db;
    font-size: 13px;
}

body.woocommerce-account:not(.logged-in) #secondary-left,
body.woocommerce-account:not(.logged-in) #secondary-right,
body.woocommerce-account:not(.logged-in) .site-content > .ed-container > aside.widget-area,
body.woocommerce-account:not(.logged-in) .site-content > .ed-container > .widget-area {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) .left-sidebar-right {
    width: 100% !important;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    float: none !important;
}

body.woocommerce-account:not(.logged-in) .left-sidebar-right #primary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto;
    margin-left: auto;
    float: none !important;
}

body.woocommerce-account:not(.logged-in) .site-content > .ed-container > #primary,
body.woocommerce-account:not(.logged-in) .site-content > .ed-container > .content-area {
    width: 100% !important;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    float: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns,
body.woocommerce-account:not(.logged-in) .woocommerce .col2-set {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    width: 100%;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2,
body.woocommerce-account:not(.logged-in) .woocommerce .col-1,
body.woocommerce-account:not(.logged-in) .woocommerce .col-2 {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .col-1 {
    grid-column: 1;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column2,
body.woocommerce-account:not(.logged-in) .woocommerce .col-2 {
    grid-column: 2;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register {
    border-color: var(--optstory-line);
    border-radius: 6px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login .form-row,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .form-row {
    width: 100%;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login input.input-text,
body.woocommerce-account:not(.logged-in) .woocommerce form.register input.input-text,
body.woocommerce-account:not(.logged-in) .woocommerce form.login input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce form.login input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce form.login input[type="password"],
body.woocommerce-account:not(.logged-in) .woocommerce form.register input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce form.register input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce form.register input[type="password"] {
    width: 100% !important;
    max-width: none !important;
    min-height: 44px;
    box-sizing: border-box;
}

.optstory-account-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--optstory-line);
    border-left: 4px solid var(--optstory-accent);
    border-radius: 6px;
    background: #fffaf1;
    color: var(--optstory-ink);
}

.optstory-account-switch span {
    font-size: 15px;
    font-weight: 700;
}

.optstory-account-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 5px;
    background: var(--optstory-accent);
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.optstory-mobile-search,
.optstory-mobile-nav {
    display: none;
}

@media (max-width: 1180px) and (min-width: 901px) {
    .buttom-header .ed-container {
        gap: 18px;
    }

    .wrap-right {
        gap: 14px;
    }

    .optstory-desktop-search {
        flex-basis: 360px;
        min-width: 300px;
    }

    .wrap-right .header-call-to {
        flex-basis: 176px;
        width: 176px !important;
    }

    .wrap-right .header-cart {
        padding-left: 28px !important;
    }

    .header-call-to p,
    .header-cart .cart-title {
        font-size: 12px;
    }

    .site-footer .top-footer .ed-container {
        gap: 28px 34px;
    }
}

@media (max-width: 900px) {
    body {
        padding-bottom: 68px;
    }

    .site-footer .top-footer .ed-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer .top-footer .footer-block-one,
    .site-footer .top-footer .footer-block-two,
    .site-footer .top-footer .footer-block-three,
    .site-footer .top-footer .footer-block-four {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .top-header {
        display: none;
    }

    .buttom-header .ed-container {
        display: block;
        padding: 7px 10px 6px;
    }

    .buttom-header .site-branding {
        display: block;
        margin-bottom: 7px;
    }

    .buttom-header .site-branding .site-title {
        font-size: 22px;
    }

    .buttom-header .site-branding .site-description {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.25;
    }

    .buttom-header .site-branding .site-text a {
        gap: 6px;
    }

    .optstory-desktop-search {
        display: none;
    }

    .optstory-brand-badge {
        display: none;
    }

    .optstory-menu-badge {
        display: none !important;
        margin: 0;
    }

    #primary-menu .optstory-menu-badge,
    .main-navigation .optstory-menu-badge {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    .optstory-menu-badge span {
        min-height: 20px;
        padding: 3px 8px;
        font-size: 10px;
    }

    .buttom-header .wrap-right {
        display: block;
    }

    .wrap-right .header-call-to,
    .wrap-right .header-cart {
        min-width: 0;
        min-height: 0;
        padding-left: 0 !important;
    }

    .wrap-right .header-call-to {
        display: flex !important;
        align-items: center;
        gap: 8px;
        width: auto !important;
        margin: 4px 0 6px;
        padding: 7px 10px !important;
        border: 1px solid #f1c27a;
        border-radius: 6px;
        background: #fffaf1;
    }

    .wrap-right .header-call-to > .fa {
        display: inline-flex !important;
        flex: 0 0 auto;
        color: var(--optstory-accent);
        font-size: 17px;
    }

    .wrap-right .header-cart > .fa {
        display: none !important;
    }

    .wrap-right .header-cart {
        display: none !important;
    }

    .header-call-to p,
    .header-cart .cart-title {
        margin: 0 0 1px;
        font-size: 11px;
        line-height: 1.15;
    }

    .header-call-to .optstory-header-lines a {
        display: block;
        font-size: 12px;
        line-height: 1.2;
    }

    .header-call-to .optstory-header-socials,
    .header-call-to .optstory-header-social {
        display: none !important;
    }

    .optstory-header-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 7px;
    }

    .header-call-to .optstory-header-social {
        display: inline-flex;
        align-items: center;
        min-height: 22px;
        margin: 0;
        padding: 3px 7px;
        border: 1px solid #f1c27a;
        border-radius: 4px;
        background: #fffaf1;
        color: var(--optstory-accent) !important;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }

    .header-cart .cart-count {
        font-size: 11px;
    }

    .header-cart .cart-total {
        font-size: 11px;
    }

    .menu-wrap .ed-container {
        padding: 0 10px;
    }

    body.woocommerce-shop .page-title,
    body.tax-product_cat .page-title {
        margin: 8px 10px 12px;
    }

    .optstory-mobile-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        padding: 7px 10px 8px;
        background: #fff;
        border-top: 1px solid var(--optstory-line);
        border-bottom: 1px solid var(--optstory-line);
    }

    .optstory-mobile-search form {
        position: relative;
        display: flex;
        align-items: center;
        min-width: 0;
        margin: 0;
    }

    .optstory-mobile-search input[type="search"] {
        width: 100%;
        height: 42px;
        padding: 0 48px 0 13px;
        border: 1px solid #e4ded4;
        border-radius: 6px;
        background: #f8f6f2;
        color: var(--optstory-ink);
        font-size: 15px;
        line-height: 42px;
        outline: none;
        box-sizing: border-box;
        -webkit-appearance: none;
    }

    .optstory-mobile-search input[type="search"]::placeholder {
        color: #7b8491;
        opacity: 1;
    }

    .optstory-mobile-search button {
        position: absolute;
        top: 4px;
        right: 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: var(--optstory-accent);
        color: #111827;
        font-size: 15px;
        line-height: 1;
    }

    .main-navigation .menu-toggle {
        width: 42px;
        height: 40px;
        line-height: 1;
        border: 1px solid #222;
        border-radius: 2px;
        color: transparent;
        position: relative;
    }

    .main-navigation .menu-toggle:after {
        content: "☰";
        color: #222;
        font-size: 24px;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 9px;
    }

    body.woocommerce-shop ul.products li.product-category,
    body.tax-product_cat ul.products li.product-category {
        min-height: 238px;
        padding: 0;
    }

    body.woocommerce-shop ul.products li.product-category a,
    body.tax-product_cat ul.products li.product-category a {
        min-height: 238px;
    }

    body.woocommerce-shop ul.products li.product-category img,
    body.tax-product_cat ul.products li.product-category img {
        height: 182px !important;
    }

    body.woocommerce-shop .woocommerce-loop-category__title,
    body.tax-product_cat .woocommerce-loop-category__title {
        padding: 12px 11px;
        font-size: 14px !important;
    }

    .woocommerce ul.products li.product .product-title,
    .woocommerce-page ul.products li.product .product-title,
    .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: 50px;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        font-size: 13px;
    }

    .site-footer {
        overflow-x: hidden;
    }

    .site-footer .top-footer {
        padding: 24px 18px 18px !important;
    }

    .site-footer .top-footer .ed-container,
    .site-footer .site-info .ed-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: auto !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .top-footer .footer-block {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 22px !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .top-footer .footer-block:last-child {
        margin-bottom: 0 !important;
    }

    .top-footer .footer-block .widget-title {
        margin-bottom: 12px;
    }

    .top-footer .footer-block p,
    .optstory-footer-lines li {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .optstory-footer-social {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .optstory-footer-social li {
        display: block;
        white-space: normal;
    }

    .optstory-footer-social strong {
        white-space: normal;
    }

    .site-info {
        padding: 16px 52px 18px 18px !important;
    }

    body.home #widget-icon-section {
        margin: 18px 0 24px;
        padding: 10px 10px 12px;
    }

    .optstory-b2b-home {
        margin: 0 0 18px;
        padding: 18px 14px 16px;
    }

    .optstory-b2b-home__grid {
        display: block;
    }

    .optstory-b2b-home__eyebrow {
        font-size: 11px;
    }

    .optstory-b2b-home h1 {
        font-size: 24px;
        line-height: 1.16;
    }

    .optstory-b2b-home__lead {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.45;
    }

    .optstory-b2b-home__actions {
        gap: 8px;
        margin-bottom: 14px;
    }

    .optstory-b2b-home__button {
        flex: 1 1 142px;
        min-height: 38px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .optstory-b2b-home__quick {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }

    .optstory-b2b-home__quick a {
        justify-content: center;
        width: 100%;
        min-height: 40px;
        padding: 7px 6px;
        font-size: 12px;
        text-align: center;
        box-sizing: border-box;
    }

    .optstory-b2b-home__facts {
        gap: 7px;
        padding-top: 12px;
        border-top: 1px solid #eee4d7;
    }

    .optstory-b2b-home__facts li {
        font-size: 12px;
    }

    .optstory-product-meta span {
        padding: 3px 5px;
        font-size: 10px;
    }

    body.single-product .woocommerce-breadcrumb {
        margin: 0 0 12px;
        padding: 0 10px;
        font-size: 12px;
    }

    body.single-product div.product {
        display: block;
    }

    body.single-product div.product .onsale {
        margin: 0 10px 10px;
    }

    body.single-product div.product .woocommerce-product-gallery {
        margin: 0 10px 12px !important;
        padding: 10px;
    }

    body.single-product div.product .summary {
        margin: 0 10px 18px !important;
        padding: 16px 14px;
    }

    body.single-product div.product .product_title {
        font-size: 22px;
        line-height: 1.18;
    }

    .optstory-single-product-meta {
        gap: 6px;
        margin-bottom: 12px;
    }

    .optstory-single-product-meta span {
        min-height: 26px;
        padding: 4px 8px;
        font-size: 12px;
    }

    body.single-product div.product .summary .price {
        font-size: 21px;
    }

    body.single-product div.product form.cart {
        gap: 8px;
    }

    body.single-product div.product form.cart .qty {
        width: 64px;
        min-height: 40px;
    }

    body.single-product div.product form.cart .single_add_to_cart_button {
        flex-basis: 180px;
        min-height: 40px;
        font-size: 13px;
    }

    body.single-product .related.products {
        margin: 0 10px;
    }

    body.single-product .related.products h2 {
        font-size: 18px;
    }

    body.home #widget-icon-section .widget {
        margin-bottom: 0;
        padding: 10px 0;
    }

    body.home #widget-icon-section .textwidget {
        display: grid;
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
    }

    body.home #widget-icon-section figure {
        display: flex;
        justify-content: center;
        margin: 0;
    }

    body.home #widget-icon-section .payment-info h3 {
        margin: 0 0 4px;
        font-size: 15px;
        line-height: 1.25;
    }

    body.home #widget-icon-section .payment-info p {
        margin: 0;
        font-size: 13px;
        line-height: 1.25;
    }

    #back-to-top {
        display: none !important;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns,
    body.woocommerce-account:not(.logged-in) .woocommerce .col2-set {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
    body.woocommerce-account:not(.logged-in) .woocommerce .u-column2,
    body.woocommerce-account:not(.logged-in) .woocommerce .col-1,
    body.woocommerce-account:not(.logged-in) .woocommerce .col-2 {
        grid-column: auto;
    }

    body.woocommerce-shop .woocommerce-notices-wrapper + .clearfix + div form,
    body.tax-product_cat .woocommerce-notices-wrapper + .clearfix + div form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px 7px;
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.3;
    }

    .optstory-product-count-text {
        flex: 1 1 100%;
    }

    .optstory-product-count-label {
        color: #4b5563;
        font-size: 13px;
    }

    body.woocommerce-shop #alg_wc_products_per_page,
    body.tax-product_cat #alg_wc_products_per_page {
        display: inline-block;
        width: 70px !important;
        height: 34px;
        margin: 0 0 0 2px;
        padding-right: 22px;
    }

    body .menu-wrap .optstory-currency-switch.optstory-currency-switch--nav {
        max-width: none;
        padding: 4px;
    }

    body .menu-wrap .optstory-currency-switch.optstory-currency-switch--nav .optstory-currency-switch__rate {
        display: none !important;
    }

    .optstory-mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99990;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        height: 62px;
        padding: 5px max(8px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
        background: #fff;
        border-top: 1px solid var(--optstory-line);
        box-shadow: 0 -8px 24px rgba(17, 24, 39, .10);
        box-sizing: border-box;
    }

    .optstory-mobile-nav a,
    .optstory-mobile-nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        min-height: 50px;
        padding: 0 2px;
        border: 0;
        background: transparent;
        color: #374151;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.05;
        text-align: center;
        text-decoration: none;
        text-transform: none !important;
        box-sizing: border-box;
    }

    .optstory-mobile-nav a:hover,
    .optstory-mobile-nav a:focus,
    .optstory-mobile-nav button:hover,
    .optstory-mobile-nav button:focus,
    .optstory-mobile-nav__item--active {
        color: var(--optstory-accent) !important;
    }

    .optstory-mobile-nav .fa {
        display: block;
        min-height: 24px;
        color: currentColor;
        font-size: 23px;
        line-height: 24px;
    }

    .optstory-mobile-nav__label {
        display: block;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

}

@media (max-width: 420px) {
    .buttom-header .wrap-right {
        display: block;
    }

    .header-call-to p,
    .header-cart .cart-title {
        font-size: 11px;
    }

    .header-call-to .optstory-header-lines a {
        font-size: 11px;
    }

    .header-call-to .optstory-header-social {
        padding: 3px 6px;
        font-size: 10px;
    }
}
