 .blogs {
   background: #f9f9f9;
   color: #1a1a1a;
   min-height: 100vh;
 }

 .blogs__topbar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 18px 32px;
   border-bottom: 1px solid #ececec;
   position: relative;
   max-width: 1400px;
   margin: auto;
   z-index: 100;
 }

 .blogs__topbar-title {
   font-size: 1.5rem;
   font-weight: 600;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   color: #111;
 }

 .blogs__sort-wrap {
   position: relative;
 }

 .blogs__sort {
   display: flex;
   align-items: center;
   gap: 6px;
   font-size: 13px;
   font-weight: 500;
   color: #555;
   cursor: pointer;
   padding: 7px 12px;
   border: 1px solid #ddd;
   border-radius: 8px;
   background: #fff;
   user-select: none;
   transition: border-color 0.2s, box-shadow 0.2s;
 }

 .blogs__sort:hover {
   border-color: #6b3fa0;
 }

 .blogs__sort.open {
   border-color: #6b3fa0;
   box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.1);
 }

 .blogs__sort-arrow {
   width: 14px;
   height: 14px;
   transition: transform 0.25s;
   flex-shrink: 0;
 }

 .blogs__sort.open .blogs__sort-arrow {
   transform: rotate(180deg);
 }

 .blogs__sort-label {
   font-weight: 600;
   color: #6b3fa0;
 }

 .blogs__dropdown {
   position: absolute;
   top: calc(100% + 6px);
   right: 0;
   background: #fff;
   border: 1px solid #e0e0e0;
   border-radius: 10px;
   box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
   min-width: 180px;
   overflow: hidden;
   opacity: 0;
   pointer-events: none;
   transform: translateY(-6px);
   transition: opacity 0.2s, transform 0.2s;
   z-index: 200;
 }

 .blogs__dropdown.open {
   opacity: 1;
   pointer-events: auto;
   transform: translateY(0);
 }

.blogs__dropdown-item {
  padding: 11px 16px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

 .blogs__dropdown-item:hover {
   background: #f5f0fa;
   color: #6b3fa0;
 }

 .blogs__dropdown-item.active {
   background: #f0e8fb;
   color: #6b3fa0;
   font-weight: 600;
 }

 .blogs__dropdown-item .check {
   width: 14px;
   height: 14px;
   opacity: 0;
   color: #6b3fa0;
 }

 .blogs__dropdown-item.active .check {
   opacity: 1;
 }

 .blogs__layout {
   display: grid;
   grid-template-columns: 380px 1fr;
   gap: 32px;
   max-width: 1400px;
   margin: 0 auto;
   padding: 32px 20px;
 }

 .blogs__sidebar {
   display: flex;
   flex-direction: column;
   gap: 28px;
 }

 .blogs__section-title {
   font-size: 24px;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: #111;
   margin-bottom: 14px;
 }

 .blogs__recent-list {
   display: flex;
   flex-direction: column;
   gap: 14px;
 }

.blogs__recent-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
   cursor: pointer;
   padding: 6px 8px;
   border-radius: 8px;
   transition: background 0.2s, box-shadow 0.2s;
  border: 1.5px solid transparent;
}

.blogs__recent-item-link {
  text-decoration: none;
  color: inherit;
}

 .blogs__recent-item:hover {
   background: #f5f0fa;
 }

 .blogs__recent-item.active-tab {
   background: #f0e8fb;
   border-color: #6b3fa0;
   box-shadow: 0 0 0 2px rgba(107, 63, 160, 0.1);
 }

 .blogs__recent-thumb {
   width: 52px;
   height: 52px;
   border-radius: 6px;
   flex-shrink: 0;
   overflow: hidden;
 }

 .blogs__recent-thumb--1 {
   background-image: url('../img/blog/Rectangle 69.png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__recent-thumb--2 {
   background-image: url('../img/blog/Rectangle 69 (1).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__recent-thumb--3 {
   background-image: url('../img/blog/Rectangle 69 (2).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__recent-thumb--4 {
   background-image: url('../img/blog/Rectangle 69 (3).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__recent-thumb--5 {
   background-image: url('../img/blog/Rectangle 69 (4).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__recent-thumb img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }

 .blogs__recent-meta {
   flex: 1;
 }

 .blogs__recent-name {
   font-size: 14px;
   font-weight: 500;
   color: #1a1a1a;
   line-height: 1.4;
   margin-bottom: 3px;
 }

 .blogs__recent-name.active-tab-label {
   color: #6b3fa0;
   font-weight: 700;
 }

 .blogs__recent-date {
   font-size: 12px;
   color: #999;
 }

 .blogs__tags {
   display: flex;
   flex-wrap: wrap;
   gap: 7px;
 }

.blogs__tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  text-decoration: none;
}

.blogs__tag:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.blogs__tag--active {
  background: #111;
  color: #fff;
  border-color: #111;
}

 .blogs__cat-list {
   display: flex;
   flex-direction: column;
   gap: 8px;
 }

.blogs__cat-item {
  font-size: 13px;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.blogs__cat-item:hover {
  color: #6b3fa0;
}

.blogs__cat-item--active {
  color: #6b3fa0;
  font-weight: 700;
}

 .blogs__flash { 
   background-image: url('../img/blog/Rectangle 12037.png');
   background-repeat: no-repeat;
   background-size: cover;
   background-position: center;
   padding: 28px 20px 24px;
   text-align: center;
   height: 580px;
   display: flex;
   flex-direction: column;
   align-items: center; 
   justify-content: space-between;
   gap: 8px;
 }

 .blogs__flash-label {
   font-size: 52.19px;
   font-weight: 800;
   font-style: italic;
   color: #5C3600;
   line-height: 1.1;
   text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
   transform: rotate(347deg);
   
 }

 .blogs__flash-off {
   font-size: 28px;
   font-style: italic;
   font-weight: 800;
   color: #5C3600;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   transform: rotate(347deg);
 }

 .blogs__flash-btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background: #002AC4;
   color: #fff;
   font-size: 18px;
   font-weight: 500;
   padding: 10px 22px;
   border-radius: 30px;
   border: none;
   cursor: pointer;
   letter-spacing: 0.04em;
   transition: background 0.2s;
   max-width: 266px;
   width: 100%;
   justify-content: center;
   height: 62.3px;
   margin-top: 8px;
   text-decoration: none;
 }

 .blogs__flash-btn:hover {
   background: #002AC4;
 }

 .blogs__flash-btn svg {
   width: 30px;
   height: 30px;
 }

 .blogs__feed {
   display: flex;
   flex-direction: column;
 }

 .blogs__post {
   background: #fff;
   border-radius: 12px;
   overflow: hidden;
   margin-bottom: 24px;
   box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
   transition: box-shadow 0.25s;
 }

 .blogs__post:hover {
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
 }

 .blogs__feed.animating .blogs__post {
   animation: fadeUp 0.32s ease both;
 }

 @keyframes fadeUp {
   from {
     opacity: 0;
     transform: translateY(12px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 .blogs__post-img {
   width: 100%;
   height: 660px;
   display: block;
   background: #ddd;
 }

 .blogs__post-img--bag {
    background-image: url('../img/blog/Rectangle 68 (1).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__post-img--lugg {
   background-image: url('../img/blog/Rectangle 68 (2).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__post-img--case {
    background-image: url('../img/blog/Rectangle 68 (1).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__post-img--home {
   background-image: url('../img/blog/Rectangle 68 (4).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__post-img--desk {
   background-image: url('../img/blog/Rectangle 68 (2).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__post-img--garden {
   background-image: url('../img/blog/Rectangle 68 (2).png');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 .blogs__post-body {
   padding: 20px 24px 24px;
 }

 .blogs__post-meta {
   display: flex;
   align-items: center;
   gap: 14px;
   font-size: 11.5px;
   color: #999;
   margin-bottom: 10px;
 }

 .blogs__post-meta-item {
   display: flex;
   align-items: center;
   gap: 4px;
 }

 .blogs__post-meta svg {
   width: 12px;
   height: 12px;
 }

 .blogs__post-title {
   font-size: 22px;
   font-weight: 700;
   color: #111;
   line-height: 1.25;
   margin-bottom: 10px;
 }

 .blogs__post-excerpt {
   font-size: 13.5px;
   color: #666;
   line-height: 1.7;
   margin-bottom: 16px;
 }

 .blogs__read-more {
   font-size: 13px;
   font-weight: 600;
   color: #111;
   text-decoration: none;
   border-bottom: 1px solid #111;
   padding-bottom: 1px;
   transition: color 0.2s, border-color 0.2s;
 }

 .blogs__read-more:hover {
   color: #6b3fa0;
   border-color: #6b3fa0;
 }

 .blogs__sort-info {
   font-size: 16px;
   color: #999;
   margin-bottom: 16px;
   padding: 0 2px;
 }

 .blogs__sort-info span {
   color: #6b3fa0;
   font-weight: 600;
 }

 .blogs__pagination {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 8px 0 16px;
   flex-wrap: wrap;
 }

.blogs__page-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
   border: 1px solid #ddd;
   background: #fff;
   font-size: 13px;
   font-weight: 500;
   color: #333;
   cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  transition: all 0.2s;
  text-decoration: none;
}

 .blogs__page-btn--active {
   background: #6b3fa0;
   border-color: #6b3fa0;
   color: #fff;
 }

 .blogs__page-btn:hover:not(.blogs__page-btn--active):not(:disabled) {
   border-color: #6b3fa0;
   color: #6b3fa0;
 }

.blogs__page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.blogs__page-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

 .tab-active-badge {
   display: inline-block;
   background: #6b3fa0;
   color: #fff;
   font-size: 10px;
   font-weight: 700;
   border-radius: 20px;
   padding: 1px 8px;
   margin-left: 6px;
   vertical-align: middle;
   letter-spacing: 0.03em;
 }

 .blogs__back-btn {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   font-size: 12.5px;
   font-weight: 600;
   color: #6b3fa0;
   background: #f0e8fb;
   border: none;
   border-radius: 20px;
   padding: 5px 14px;
   cursor: pointer;
   margin-bottom: 14px;
   transition: background 0.2s;
 }

 .blogs__back-btn:hover {
   background: #e4d5f8;
 }

 @media (max-width: 860px) {
   .blogs__layout {
     grid-template-columns: 1fr;
   }

   .blogs__sidebar {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px;
   }

   .blogs__flash {
     grid-column: 1/-1;
   }
 }

 @media (max-width: 540px) {
   .blogs__topbar {
     padding: 14px 16px;
   }

   .blogs__layout {
     padding: 20px 16px;
     gap: 20px;
   }

   .blogs__sidebar {
     grid-template-columns: 1fr;
   }

   .blogs__post-img {
     height: 180px;
   }

   .blogs__post-title {
     font-size: 18px;
   }

   .blogs__sort {
     font-size: 10px;
   }
 }
