:root{--orange:#ea772b;--ink:#252b32;--gray:#636b75;--line:#e4e6e9;--bg:#f6f7f8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--orange)}.shell{max-width:1360px;margin:auto;padding:0 24px}.top{background:#24282d;color:#e9e9e9;padding:7px 24px;font-size:12px;text-align:center}header{background:white;border-bottom:1px solid var(--line)}.header{display:flex;gap:35px;align-items:center;min-height:90px}.logo{font-size:21px;font-weight:900;display:flex;align-items:center;gap:10px;white-space:nowrap;line-height:1}.logo b{color:var(--orange)}.logo small{display:block;font-size:10px;letter-spacing:1.8px;color:#777;margin-top:8px}.mark{background:var(--orange);color:white;padding:13px 9px;border-radius:4px}.search{display:flex;flex:1;min-width:160px}.search input{width:100%;padding:14px;border:1px solid #d5d8dc;border-radius:4px 0 0 4px;font-size:14px}.search button,.cta{background:var(--orange);color:#fff;font-weight:bold;border:0;cursor:pointer;padding:13px 19px;border-radius:3px}.search button{border-radius:0 4px 4px 0}.basket{white-space:nowrap;font-weight:bold}.basket b{background:var(--orange);color:white;border-radius:50%;padding:3px 8px}nav{background:#30343a;color:#fff}.nav{display:flex;gap:30px;padding-top:12px;padding-bottom:12px;font-weight:bold;font-size:13px}.nav a:hover{color:#ffba8a}.hero{margin:24px 0;background:linear-gradient(100deg,#292d32,#4a4e53);border-radius:5px;padding:30px 34px;color:white}.hero h1{margin:6px 0;font-size:29px;line-height:1.2}.hero p{color:#dde0e3;margin:10px 0 0}.eyebrow{color:#f7b085;font-weight:bold;font-size:11px;letter-spacing:2px}.crumb{margin:16px 0;color:#76808a;font-size:13px}.columns{display:grid;grid-template-columns:245px 1fr;gap:24px}.side{background:white;border:1px solid var(--line);padding:17px;align-self:start}.side h3{font-size:15px;border-bottom:2px solid var(--orange);padding-bottom:11px;margin:6px 0 10px}.side h3:not(:first-child){margin-top:30px}.sideitem{display:flex;justify-content:space-between;border-bottom:1px solid #f1f1f1;padding:8px 0;font-size:13px}.sideitem span{color:#90949b}.side select{padding:10px;width:100%;border:1px solid var(--line);background:white}.listinghead{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.listinghead h2{font-size:20px;margin:0}.listinghead span{color:#989da4;font-size:14px}.small{font-size:12px;color:var(--gray)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product{border:1px solid var(--line);background:white;display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s}.product:hover{box-shadow:0 4px 18px #0001}.productimage{height:195px;display:flex;align-items:center;justify-content:center;padding:13px;background:#fff;color:#999}.productimage img{max-width:100%;max-height:100%;object-fit:contain}.prodinfo{padding:14px;display:flex;flex-direction:column;gap:7px;flex:1}.brand{color:var(--orange);text-transform:uppercase;letter-spacing:.5px}.producttitle{font-weight:700;line-height:1.35;min-height:55px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:14px}.sku{font-size:12px;color:#7a828a}.status{font-size:12px;color:#94703e}.status.available{color:#228052}.price{font-size:20px;color:#252b32}.prodinfo form{margin-top:auto}.prodinfo .cta{width:100%;padding:10px 8px;font-size:12px}.pagination{display:flex;justify-content:center;gap:20px;padding:26px}.pagination a{color:var(--orange);font-weight:bold}.detail{display:grid;grid-template-columns:45% 55%;gap:24px;background:white;padding:30px;border:1px solid var(--line)}.mainimg{height:450px;display:flex;align-items:center;justify-content:center}.mainimg img{max-width:100%;max-height:100%;object-fit:contain}.secondimg{max-height:90px;max-width:130px;object-fit:contain}.detailinfo h1{font-size:27px;line-height:1.2}.large{font-size:32px}.detailinfo form{display:flex;align-items:end;gap:15px;margin-top:26px}.detailinfo input{width:90px;display:block;padding:12px;border:1px solid var(--line)}.description{background:white;border:1px solid var(--line);padding:24px;margin:24px 0}.specs{line-height:1.85;white-space:normal}.quoteitems,.quoteform{background:white;border:1px solid var(--line);padding:20px;max-width:900px;margin:18px 0}.quoteitem{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:13px}.quoteitem:last-child{border:0}.remove{background:none;color:#a22;border:0;cursor:pointer}.quoteform{display:grid;grid-template-columns:1fr 1fr;gap:15px}.quoteform label{font-weight:bold;font-size:13px}.quoteform input,.quoteform textarea{width:100%;display:block;margin-top:6px;padding:12px;border:1px solid #d5d8dc;font:inherit}.quoteform label:nth-last-of-type(1),.quoteform p,.quoteform button{grid-column:1/-1}.trap{position:absolute;left:-9999px}.error{padding:15px;background:#fee;color:#900}footer{margin-top:55px;background:#24282d;color:#ddd;padding:35px 0;font-size:13px}@media(max-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.header{flex-wrap:wrap;padding-top:15px;padding-bottom:15px;gap:15px}.search{order:3;flex-basis:100%}.nav{flex-wrap:wrap;gap:15px}.columns{grid-template-columns:1fr}.side{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail{grid-template-columns:1fr}}@media(max-width:480px){.shell{padding:0 12px}.grid{gap:8px}.productimage{height:140px}.prodinfo{padding:9px}.producttitle{font-size:12px}.price{font-size:16px}.hero{padding:22px 16px}.hero h1{font-size:24px}.quoteform{grid-template-columns:1fr}.logo{font-size:17px}}

/* ========================================
   CONTACT ELECTRIC - PAGINA PRODUS V2
   ======================================== */

.product-page {
    padding-bottom: 20px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 22px 0;
    font-size: 12px;
}

.product-breadcrumb strong {
    color: #30343a;
}

.product-detail-modern {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    padding: 32px;
    background: #fff;
    border: 1px solid #e3e5e8;
    border-radius: 6px;
}

.product-gallery-modern {
    min-width: 0;
}

.product-main-image {
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 5px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.no-product-image {
    color: #999;
    text-align: center;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    padding: 7px;
    border: 1px solid #e2e4e6;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.product-thumb:hover,
.product-thumb.active {
    border: 2px solid #ea772b;
}

.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info-modern {
    min-width: 0;
}

.product-brand-modern {
    color: #ea772b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-info-modern h1 {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 22px;
    color: #252b32;
}

.product-meta-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #6d7580;
    font-size: 13px;
    margin-bottom: 22px;
}

.product-meta-modern strong {
    color: #252b32;
}

.product-stock-modern {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    background: #fff5e9;
    color: #99601c;
}

.product-stock-modern.in-stock {
    background: #edf8f0;
    color: #237345;
}

.stock-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: currentColor;
}

.product-price-box {
    margin: 25px 0 20px;
    padding: 22px 24px;
    border: 1px solid #ebedf0;
    border-radius: 5px;
    background: #f8f9fa;
}

.price-label {
    font-size: 12px;
    color: #69727c;
    margin-bottom: 5px;
}

.price-value {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    color: #262b31;
}

.price-tax {
    margin-top: 7px;
    font-size: 12px;
    color: #6d7580;
}

.product-add-form {
    display: flex;
    align-items: end;
    gap: 14px;
    margin-top: 22px;
}

.quantity-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quantity-field input {
    width: 92px;
    height: 49px;
    padding: 10px;
    border: 1px solid #d5d8dc;
    border-radius: 4px;
    font-size: 16px;
}

.add-product-button {
    flex: 1;
    min-height: 49px;
    font-size: 14px;
}

.add-product-button:hover {
    background: #d8661d;
}

.add-product-button:disabled {
    opacity: 0.75;
    cursor: wait;
}

.view-quote-link {
    display: inline-block;
    color: #db681e;
    font-weight: 700;
    font-size: 13px;
    margin-top: 17px;
}

.product-notice {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #e9ebed;
    color: #707882;
    font-size: 12px;
    line-height: 1.7;
}

.product-description-modern {
    margin-top: 24px;
    padding: 30px 34px;
    background: #fff;
    border: 1px solid #e3e5e8;
    border-radius: 6px;
}

.description-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 2px solid #ea772b;
}

.description-heading h2 {
    margin: 0;
    font-size: 21px;
    color: #252b32;
}

.description-heading span {
    font-size: 12px;
    color: #858b94;
}

.product-description-content {
    padding-top: 24px;
    color: #414852;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.product-back {
    margin-top: 24px;
}

.product-back a {
    color: #ea772b;
    font-weight: 700;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .product-detail-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-main-image {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .product-detail-modern {
        padding: 16px;
    }

    .product-main-image {
        height: 285px;
    }

    .product-info-modern h1 {
        font-size: 22px;
    }

    .price-value {
        font-size: 30px;
    }

    .product-add-form {
        flex-wrap: wrap;
    }

    .add-product-button {
        flex-basis: 100%;
    }

    .product-description-modern {
        padding: 20px 17px;
    }

    .description-heading {
        align-items: start;
        flex-direction: column;
    }
}


/* Navigare categorii produs */

.product-breadcrumb a {
    color: #687482;
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb a:hover {
    color: #ea772b;
    text-decoration: underline;
}

.product-breadcrumb strong {
    color: #252b32;
    font-weight: 700;
}

.product-breadcrumb span {
    color: #a4aab0;
}


/* Corectare navigare categorii produs */

nav.product-breadcrumb {
    background: transparent;
    color: #687482;
    padding: 0;
    margin: 20px 0;
    border: none;
    box-shadow: none;
    font-size: 13px;
}

nav.product-breadcrumb a {
    color: #687482;
    text-decoration: none;
}

nav.product-breadcrumb a:hover {
    color: #ea772b;
    text-decoration: underline;
}

nav.product-breadcrumb span {
    color: #a4aab0;
}

nav.product-breadcrumb strong {
    color: #252b32;
    font-weight: 700;
}


/* Produse fara stoc */

.product-stock-modern.out-stock {
    background: #fff0f0;
    color: #c62828;
}

.product-stock-modern.out-stock .stock-dot {
    background: #c62828;
}


/* Produse fara stoc - catalog */

.product .status.out-of-stock {
    color: #c62828;
    font-weight: 600;
}

.product .cta:disabled {
    background: #a3a8af;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.85;
}

.product .cta:disabled:hover {
    background: #a3a8af;
}

/* CONTACT ELECTRIC - MENIU CATEGORII IERARHIC */
.catalog-category-sidebar .cat-tree {
    margin: 9px 0 18px;
    font-size: 13px;
}
.catalog-category-sidebar .cat-tree-node {
    min-width: 0;
}
.catalog-category-sidebar .cat-tree-details {
    border-bottom: 1px solid #f1f1f1;
}
.catalog-category-sidebar .cat-tree-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    min-width: 0;
}
.catalog-category-sidebar summary.cat-tree-row {
    cursor: pointer;
    list-style: none;
}
.catalog-category-sidebar summary.cat-tree-row::-webkit-details-marker {
    display: none;
}
.catalog-category-sidebar summary.cat-tree-row::before {
    content: '›';
    flex: 0 0 13px;
    color: #7c8791;
    font-size: 17px;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform .15s ease;
}
.catalog-category-sidebar details[open] > summary.cat-tree-row::before {
    transform: rotate(90deg);
}
.catalog-category-sidebar .cat-tree-leaf::before {
    content: '';
    flex: 0 0 13px;
}
.catalog-category-sidebar .cat-tree-link {
    color: #303840;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.catalog-category-sidebar .cat-tree-link:hover,
.catalog-category-sidebar .cat-tree-link.is-selected {
    color: #ea772b;
}
.catalog-category-sidebar .cat-tree-link.is-selected {
    font-weight: 700;
}
.catalog-category-sidebar .cat-tree-count {
    color: #7a8490;
    font-size: 11px;
    margin-left: auto;
    white-space: nowrap;
}
.catalog-category-sidebar .cat-tree-children {
    border-left: 1px solid #e5e8ed;
    padding-left: 11px;
    margin-left: 6px;
}
/* Afisam filtrul de categorii si pe telefoane: CSS-ul vechi ascundea meniul. */
@media (max-width: 800px) {
    .catalog-category-sidebar.side {
        display: block;
    }
}


/* ========================================
   CATALOG - MENIU CATEGORII
   ======================================== */

/* Meniu lateral mai lat */
@media (min-width: 801px) {
    .columns {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 24px;
    }
}

/* Aspect general */
.side {
    border-radius: 5px;
}

.sideitem {
    transition: background 0.2s, color 0.2s;
    overflow-wrap: anywhere;
}

/* Evidentiere la trecerea mouse-ului */
.sideitem:hover {
    color: #ea772b;
    background: #fff5ed;
}

/* Meniu expandabil */
.side details {
    margin: 0;
}

.side summary {
    cursor: pointer;
}

.side summary:hover {
    color: #ea772b;
}

/* Evidentierea categoriei deschise */
.side details[open] > summary {
    font-weight: 700;
    color: #30343a;
}

/* Selectarea vizibila a categoriei */
.side .active,
.side .selected,
.side [aria-current="page"] {
    color: #d9651e;
    background: #fff0e6;
    font-weight: 700;
}
