* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #1e2024 0%, #121212 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    scroll-behavior: smooth;
}


header {
    background-color: #111;
    border-bottom: 2px solid #ffcc00;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main_header {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.name {
    font-size: 26px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: 0.3s;
}

.name:hover {
    text-shadow: 0 0 15px #ffcc00;
    color: #ffcc00;
}

.nav_links nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav_links a:not(.add-btn) {
    font-size: 16px;
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav_links a:not(.add-btn):hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid #ffcc00;
}


.add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 25px;
    border: 2px solid #ffcc00;
    border-radius: 4px;
    color: #ffcc00 !important;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.2s;
    background: transparent;
    white-space: nowrap;
}

.add-btn:hover {
    background-color: #ffcc00;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
}

.add-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.4);
}

/* --- ОСНОВНА ЧАСТИНА --- */
.main_part {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    flex: 1;
}

.sidebar {
    min-width: 260px;
    width: 260px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    text-decoration: none;
    color: #b0b0b0;
    font-size: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar a:hover {
    background-color: #252525;
    color: #ffcc00;
    padding-left: 20px;
    border-left: 3px solid #ffcc00;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

main {
    flex: 1;
    width: 100%;
    text-align: center;
}

.top {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: left;
    font-size: 32px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

.product_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    width: calc(25% - 15px);
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 450px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.product:hover {
    transform: translateY(-7px);
    border-color: #555;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 204, 0, 0.1);
    z-index: 2;
    cursor: pointer;
}

.product a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background-color: #1f1f1f;
    border-bottom: 1px solid #333;
    transition: filter 0.3s;
    filter: brightness(0.95);
}

.product:hover img {
    filter: brightness(1.05);
}

.product h3 {
    padding: 15px;
    font-size: 15px;
    color: #fff;
    margin: 0;
    font-weight: normal;
    line-height: 1.5;
}

.product-footer {
    padding: 15px;
    margin-top: auto;
    border-top: 1px solid #333;
    background: rgba(0,0,0,0.2);
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: #4ade80;
    margin: 0 0 12px 0;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.buy-btn {
    width: 100%;
    padding: 12px;
    background: #ffcc00;
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

.buy-btn:hover {
    background: #ffe066;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
    transform: scale(1.02);
}

.buy-btn:active {
    transform: scale(0.98);
}

.main-footer {
    background-color: #0f0f0f;
    border-top: 3px solid #ffcc00;
    color: #888;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-left: 3px solid #ffcc00;
    padding-left: 15px;
    letter-spacing: 1px;
}

.footer-col p {
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #888;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: 0.3s;
    font-size: 14px;
}

.footer-col a:hover {
    color: #ffcc00;
    padding-left: 10px;
}

.copyright {
    background-color: #050505;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 13px;
    color: #555;
    border-top: 1px solid #222;
}


@media (max-width: 1200px) {
    .product {
        width: calc(33.33% - 14px);
    }
}

@media (max-width: 900px) {

    header {
        position: static;
    }

    .product {
        width: calc(50% - 10px);
    }
    .main_part {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }
    .main_header {
        flex-direction: column;
        text-align: center;
        padding-bottom: 20px;
    }
    .nav_links nav {
        margin-top: 15px;
    }
}

@media (max-width: 600px) {
    .product {
        width: 100%;
        height: auto;
        min-height: 450px;
    }
    .nav_links nav {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .add-btn {
        width: 100%;
        margin-left: 0;
    }
}
.add-page-wrapper {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    width: 100%;
}

.add-form-container {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.add-form-container h1 {
    color: white;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 15px;
    font-size: 24px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
}
.add-form-container input[type='password'],
.add-form-container input[type='email'],
.add-form-container input[type="text"],
.add-form-container textarea,
.add-form-container select {
    width: 100%;
    padding: 12px 15px;
    background-color: #0f0f0f;
    border: 1px solid #444;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
    outline: none;
}

.add-form-container input:focus,
.add-form-container textarea:focus,
.add-form-container select:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.file-input {
    background-color: #0f0f0f;
    padding: 10px;
    border-radius: 6px;
    border: 1px dashed #555;
    width: 100%;
    color: #888;
    cursor: pointer;
}

.file-input:hover {
    border-color: #ffcc00;
    color: white;
}

.file-input::file-selector-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.file-input::file-selector-button:hover {
    background-color: #ffcc00;
    color: black;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #ffcc00;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}

.submit-btn:hover {
    background: #ffe066;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.6);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: scale(0.98);
}

.add-form-container input[type="text"],
.add-form-container input[type="number"],
.add-form-container textarea,
.add-form-container select {
    width: 100%;
    padding: 12px 15px;
    background-color: #0f0f0f;
    border: 1px solid #444;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
    outline: none;
}

.add-form-container input:focus,
.add-form-container textarea:focus,
.add-form-container select:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.catalog-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

.page-header h1 {
    color: white;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 40px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 15px;
    letter-spacing: 1px;
}


.empty-state {
    width: 100%;
    text-align: center;
    color: #888;
    padding: 50px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px dashed #333;
}

.empty-state h2 {
    color: white;
    margin-bottom: 10px;
}

.add-btn-link {
    display: inline-block;
    margin-top: 20px;
    color: #ffcc00;
    text-decoration: none;
    border: 1px solid #ffcc00;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.add-btn-link:hover {
    background: #ffcc00;
    color: black;
}

.product-link {
    display: block;
    width: calc(25% - 15px);
    text-decoration: none;
    color: inherit;
    min-width: 250px;
}

.product-link .product {
    width: 100% !important;
    height: 100%;
    margin: 0;
}

@media (max-width: 1200px) {
    .product-link {
        width: calc(33.33% - 14px);
    }
}

@media (max-width: 900px) {
    .product-link {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .product-link {
        width: 100%;
    }
}



.detail-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}

.back-link {
    display: inline-block;
    color: #888;
    text-decoration: none;
    margin-bottom: 20px;
    transition: 0.3s;
    font-size: 14px;
}

.back-link:hover {
    color: #ffcc00;
    transform: translateX(-5px);
}

.product-card-detail {
    display: flex;
    gap: 40px;
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.detail-image-container {
    flex: 1;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    height: 500px;
    overflow: hidden;
}

.detail-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.detail-image-container:hover img {
    transform: scale(1.05);
}
.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-category {
    color: #ffcc00;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: bold;
}

.detail-title {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.detail-price-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.detail-price {
    font-size: 42px;
    color: #4ade80;
    font-weight: 900;
}

.stock-status {
    background: #4ade80;
    color: black;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.stock-statuss{
    background: #ef4444;
}

.detail-buy-btn {
    background: #ffcc00;
    color: black;
    border: none;
    padding: 20px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.3);
}

.detail-buy-btn:hover {
    background: #ffe066;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.5);
}

.short-features p {
    color: #bbb;
    margin-bottom: 8px;
    font-size: 16px;
}
.info-page-container {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    align-items: stretch;
}

.detail-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: 1px solid #333333;
}

.detail-card h2 {
    margin-top: 0;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.detail-card h3 {
    color: #ffc107;
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.detail-card b {
    color: #ffc107;

}
.detail-card p {
    color: #d0d0d0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.detail-card a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.detail-card a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.contact-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #ffc107;
    color: #000000 !important;
    padding: 15px 0;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.contact-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    color: #000000 !important;
}

.desc-text {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #d0d0d0;
    word-break: break-word;
}

.user-info {
    flex: 1;
    min-width: 280px;
}

.description-block {
    flex: 2;
}
@media (max-width: 768px) {
    .product-card-detail {
        flex-direction: column;
        padding: 20px;
    }
    .info-page-container {
        flex-direction: column;
    }

    .user-info,
    .description-block {
        width: 100%;
        flex: none;
        box-sizing: border-box;
    }

    .detail-card {
        padding: 20px;
    }
    .detail-image-container {
        min-height: 300px;
    }

    .detail-title {
        font-size: 28px;
    }

    .detail-price {
        font-size: 32px;
    }
}
.admin-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.btn-edit, .btn-delete {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    color: white;
}

.btn-edit {
    background-color: #3b82f6;
    border: 1px solid #2563eb;
}

.btn-edit:hover {
    background-color: #1d4ed8;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.btn-delete {
    background-color: #ef4444;
    border: 1px solid #dc2626;
}

.btn-delete:hover {
    background-color: #b91c1c;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.sidebar a.active {
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    border: none;
}
.sub{
    margin-bottom: 15px;
}

.sign-in-link{
    color: dodgerblue;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    color: white;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #222222;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #252525;
    color: #ffcc00;
    padding-left: 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

.show {
    display: block;
}
.buy-page {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: stretch;
}

.top-aligned-content {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: 0;
}

.top-aligned-title {
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.order-info h2 {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #ccc;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    line-height: 1.4;
}


.order-info h2:last-of-type {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    border-bottom: none;
    margin-top: 20px;
}

.order-info h1 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 15px;
}

.order-info h1 + h1 {
    margin-top: -10px;
    font-size: 18px;
    color: #ddd;
    border-left-color: #555;
}

.comment {
    margin-top: 20px;
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 6px;

    padding: 15px 20px;
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.5;
    border-left: 4px solid #ffc107;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.comment strong,
.comment h3 {
    color: #ffc107;
    font-style: normal;
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: right;
    margin-bottom: 15px;
}


.search-input {
    background-color: #2b2b2b;
    border: 1px solid #444;
    color: #e0e0e0;

    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    width: 260px;

    outline: none;
    transition: all 0.3s ease;
}


.search-input:focus {
    border-color: #ffc107;
    background-color: #333;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.search-input::placeholder {
    color: #888;
    font-style: italic;
}


.search-btn {
    background-color: #ffc107;
    color: #111;
    border: none;
    padding: 11px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: #e0a800;
}
.category-title{
    color: white;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 40px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 15px;
    letter-spacing: 1px;
}


.flash-messages {
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}


.alert {
    padding: 15px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.alert-error {
    background-color: #dc3545;
    border: 1px solid #a71d2a;
    border-left: 5px solid #ff4d4d;
}

.alert-success {
    background-color: #28a745;
    border: 1px solid #1e7e34;
}

@media (max-width: 768px) {
    .buy-page {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .buy-page .product-link {
        width: 100%;
        max-width: 400px;
        flex: none;
    }

    .buy-page .add-form-container {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }
}
.about-me-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    color: #e0e0e0;
}

.about-me-section p {
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
    color: #cccccc;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skills-list li {
    background-color: #222;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 12px;
    border-left: 5px solid #444;
    transition: transform 0.3s ease, border-color 0.3s ease;
    line-height: 1.5;
    font-size: 15px;
    color: #ccc;
}

.skills-list li:hover {
    transform: translateX(5px);
    border-color: #ffcc00;
    border-left-color: #ffcc00;
}

.skills-list li strong {
    display: block;
    color: #ffcc00;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: bold;
}

.about-me-section code {
    background-color: #333;
    color: #ffcc00;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

@media (max-width: 768px) {
    .about-me-section {
        margin: 20px;
        padding: 20px;
    }

    .skills-list li {
        padding: 15px;
    }
}

.similar-products-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.similar-title {
    color: #ffcc00; 
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.similar-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto; 
    padding-bottom: 15px; 
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.similar-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.similar-scroll-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}
.similar-scroll-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
.similar-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #ffcc00;
}

.similar-card {
    flex: 0 0 220px; 
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    scroll-snap-align: start; 
}

.similar-card:hover {
    transform: translateY(-5px);
    border-color: #ffcc00;
}

.similar-img-wrapper {
    height: 150px;
    background: #111;
    overflow: hidden;
}

.similar-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.similar-card:hover img {
    transform: scale(1.05);
}

.similar-info {
    padding: 15px;
}

.similar-info h4 {
    color: #e0e0e0;
    font-size: 14px;
    margin: 0 0 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.similar-price {
    color: #ffcc00;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.similar-view-all {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px dashed #333;
    border-radius: 12px;
    text-decoration: none;
    color: #888;
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.similar-view-all:hover {
    border-color: #ffcc00;
    color: #ffcc00;
    background-color: rgba(255, 204, 0, 0.05);
}

.view-all-content {
    text-align: center;
}

.view-all-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 5px;
}
