body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.content-wrapper {
    display: flex;
    max-width: 1260px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
}

.container, .sidebar-right {
    flex-grow: 1;
    max-width: 980px;
    margin-right: 20px;
}
.container {
    background-color: #f7f7f7;
    border: 1px solid #ddd; 
    padding: 20px; 
    border-radius: 4px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    color: #666; 
}
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .container {
        width: 100%;
        max-width: none;
        margin-right: 0;
    }
}
.anchor-link {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}
.header {
    margin-top: 10px;
}
.header a {
    margin-right: 10px;
}
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}
.footer a {
    margin-right: 10px;
}

.href {
    cursor: pointer;
    color: #c9302c; 
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease; 
}

.href:hover {
    color: #d9534f;
    text-decoration: none;
}

a {
    color: #007bff;
}
a:hover {
    color: #0056b3;
    text-decoration: none;
}

.forimg {
    text-align: center;
}

.forimg img {
    max-width: 480px; 
    max-height: 480px; 
}

.product-block {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}
.product-image {
    position: relative;
    width: 50%;
}

.product-image img {
    max-width: 300px; 
    height: auto;
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: green;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
}

.product-info {
    width: 50%; 
    padding-left: 20px;
}

.product-title {
    font-weight: bold;
    font-size: 18px; 
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: baseline;
}

.new-price {
    color: red;
    font-size: 28px;
    margin-right: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.order-button {
    display: inline-block;
    text-align: center;
    text-decoration: none; 
    font-weight: bold;
    font-size: 16px;
    background-color: red;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    margin-top: 10px;
    width: 80%; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px; 
}

.order-button:hover {
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.order-button2 {
    display: inline-block;
    text-align: center;
    text-decoration: none; 
    font-weight: bold;
    font-size: 16px;
    background-color: skyblue;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    margin-top: 10px;
    width: 80%; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px; 
}

.order-button2:hover {
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.discount-info {
    background-color: #ccffcc;
    border: 1px dashed #70db70;
    padding: 5px;
    margin-top: 10px;
    width: fit-content;
}

.product-description {
    margin-top: 10px;
    color: #9e9e9e;
    font-size: 14px;
}

@media (max-width: 768px) {
    .product-block {
        flex-direction: column;
    }

    .product-image,
    .product-info {
        width: 100%;
    }

    .product-info {
        padding-top: 20px;
    }

    .order-button {
        width: 80%;
    }
}

.article-promo-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.promo-image,
.promo-content,
.promo-price,
.promo-button {
    margin-right: 10px; 
}

.article-promo-block > :last-child {
    margin-right: 0;
}
.promo-image {
    text-align: center;
}

.promo-image img {
    max-width: 120px;
    height: auto;
}

.promo-content {
    padding-left: 10px;
    text-align: left;
}

.promo-content h2 {
    font-size: 16px; 
    margin-bottom: 5px; 
}

.promo-content p {
    font-size: 13px; 
    color: #9e9e9e; 
    margin-top: 0px; 
}

.promo-price {
    display: flex;
    align-items: baseline;
    margin: 10px 0;
    padding-right: 5px;
}

.new-price2,
.old-price2 {
    white-space: nowrap;
    display: block;
    margin-right: 5px; 
}

.new-price2 {
    color: red;
    font-size: 18px;
}

.old-price2 {
    text-decoration: line-through;
    color: #999;
}

.order-button-small {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 5px;
}
.order-button-small:hover {
    color: white;
}

.discount-info-small {
    display: block;
    background-color: #ccffcc;
    border: 1px dashed #70db70;
    padding: 3px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .article-promo-block {
        flex-direction: column;
    }

    .promo-image,
    .promo-content {
        width: 100%;
        text-align: center;
    }

    .order-button-small,
    .discount-info-small {
        width: 100%;
        margin-top: 10px;
    }

    .promo-button {
        text-align: center; 
    }
}
.post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px; 
}

.post-description {
    flex-grow: 1;
}

.post-image-left img,
.post-image-right img {
    max-width: 120px; 
    height: auto;
    max-height: 120px;
    margin: 0 20px; 
}

.post-image-left {
    order: -1; 
}

.post-image-right {
    order: 1; 
}

@media (max-width: 768px) {
    .post {
        flex-direction: column;
        align-items: center;
    }

    .post-image-left,
    .post-image-right {
        order: 0;
        margin: 0 0 20px 0;
    }

    .post-image-left img,
    .post-image-right img {
        width: 100%;
        max-width: 160px; 
        height: auto; 
    }

    .post-description {
        text-align: center; 
    }
}

.sidebar-right {
    margin-top: 40px;
    width: 30%;
    flex-shrink: 0;
}

.sidebar-post {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid lightgrey;
}

.sidebar-post img {
    width: auto;
    max-width: 70px;
    height: auto;
    margin-right: 10px;
}

.sidebar-post h3 {
    margin-top: 0;
    font-size: 14px;
}

.sidebar-post h3 a {
    color: #6c757d;
    text-decoration: none;
}

.sidebar-post h3 a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sidebar-right {
        width: 100%;
        order: 2;
    }
}
