/*your custom css goes here*/

/* 公告样式 */
.announcement-container {
    background: white;
    color: #003399;
    padding: 12px 0;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.announcement-wrapper {
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    display: flex;
    align-items: center;
}

.announcement-content {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
}

.announcement-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #003399;
    animation: pulse 2s infinite;
}

.announcement-text {
    margin-right: 50px;
    line-height: 1.4;
}

/* 多条公告时的样式 */
.announcement-container .announcement-content:not(:last-child) .announcement-text::after {
    content: " • ";
    margin-left: 30px;
    margin-right: 20px;
    color: #003399;
    font-weight: bold;
}

/* 滚动动画 */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .announcement-content {
        font-size: 13px;
        padding: 0 15px;
    }
    
    .announcement-icon {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .announcement-text {
        margin-right: 30px;
    }
}

@media (max-width: 480px) {
    .announcement-container {
        padding: 10px 0;
    }
    
    .announcement-content {
        font-size: 12px;
        padding: 0 10px;
    }
    
    .announcement-icon {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .announcement-text {
        margin-right: 20px;
    }
}

/* 暂停滚动效果（鼠标悬停时） */
.announcement-container:hover .announcement-wrapper {
    animation-play-state: paused;
}

/* 公告管理页面样式 */
.announcement-status-badge {
    font-size: 11px;
    padding: 4px 8px;
}

.announcement-content-preview {
    max-width: 300px;
    word-wrap: break-word;
    line-height: 1.4;
}

/* 公告表单样式 */
.announcement-form .form-group label {
    font-weight: 600;
    color: #495057;
}

.announcement-form .form-control {
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.announcement-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 公告卡片样式 */
.announcement-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.announcement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* 区域间距统一调整 */
.banner-section,
.announcement-container,
.categories-section {
    margin-bottom: 20px;
}

/* PC端侧边栏高度调整 */
@media (min-width: 992px) {
    .sidebar-categories,
    .today-deals-sidebar {
        transition: height 0.3s ease;
    }
    
    /* 当有公告时，侧边栏增加高度 */
    body:has(.announcement-container) .sidebar-categories,
    body:has(.announcement-container) .today-deals-sidebar {
        min-height: calc(100vh - 200px);
    }
    
    /* 当没有公告时，侧边栏减少高度 */
    body:not(:has(.announcement-container)) .sidebar-categories,
    body:not(:has(.announcement-container)) .today-deals-sidebar {
        min-height: calc(100vh - 180px);
    }
}

/* 今日特卖高度调整 */
.h-lg-500px, .size-lg-500px {
    height: 445px !important;
}

@media (max-width: 991.98px) {
    .h-lg-500px, .size-lg-500px {
        height: auto !important;
    }
}

/* 公告显示时，原有的400px高度元素自动增加到500px */
body:has(.announcement-container) .h-lg-400px,
body:has(.announcement-container) .size-lg-400px {
    height: 445px !important;
}

/* 公告不显示时，恢复原有400px高度 */
body:not(:has(.announcement-container)) .h-lg-400px,
body:not(:has(.announcement-container)) .size-lg-400px {
    height: 400px !important;
}

@media (max-width: 991.98px) {
    body:has(.announcement-container) .h-lg-400px,
    body:has(.announcement-container) .size-lg-400px,
    body:not(:has(.announcement-container)) .h-lg-400px,
    body:not(:has(.announcement-container)) .size-lg-400px {
        height: auto !important;
    }
}

/* 类别菜单内容增加时的样式调整 */
@media (min-width: 992px) {
    .aiz-category-menu .categories {
        transition: max-height 0.3s ease;
    }
    
    /* 当有公告时，类别菜单增加一行的高度（约40px） */
    body:has(.announcement-container) .aiz-category-menu .categories {
        max-height: calc(11 * 40px + 40px); /* 原11行 + 新增1行 */
    }
    
    /* 当没有公告时，类别菜单保持原有11行高度 */
    body:not(:has(.announcement-container)) .aiz-category-menu .categories {
        max-height: calc(11 * 40px); /* 原11行高度 */
    }
}
/* OTTO Blue Theme Overrides */
:root {
    --primary: #003399 !important;
    --hov-primary: #002266 !important;
    --soft-primary: rgba(0, 51, 153, 0.15) !important;
}
.btn-primary {
    background-color: #003399 !important;
    border-color: #003399 !important;
}
.btn-primary:hover {
    background-color: #002266 !important;
    border-color: #002266 !important;
}
.bg-primary, .bg-soft-primary {
    background-color: rgba(0, 51, 153, 0.15) !important;
}
.text-primary {
    color: #003399 !important;
}
.border-primary {
    border-color: #003399 !important;
}

/* OTTO clone alignment: hide account menu until the account area is hovered, matching original storefront behavior. */
.hover-user-top-menu { display: none; }
#nav-user-info:hover .hover-user-top-menu,
#nav-user-info:focus-within .hover-user-top-menu,
.hover-user-top-menu:hover { display: block; }

/* OTTO clone header alignment */
.otto-search-box { max-width: 570px; margin: 0 auto; }
.otto-search-type { height: 42px; border-radius: 22px 0 0 22px; border-right: 0 !important; min-width: 106px; }
.otto-search-input { height: 42px !important; border-radius: 0 !important; border-left: 0 !important; box-shadow: none !important; }
.otto-search-button { height: 42px; border-radius: 0 22px 22px 0 !important; min-width: 58px; display: inline-flex; align-items: center; justify-content: center; }
.otto-account-block { display: none !important; }
.logo-bar-area .py-20px { padding-top: 20px !important; padding-bottom: 20px !important; }
@media (max-width: 991.98px) {
  .otto-search-box { max-width: none; margin: 0; }
  .otto-search-button { min-width: 48px; }
}

/* OTTO clone color and nav alignment */
:root { --primary: #ff2e4d !important; --hov-primary: #F91155 !important; --soft-primary: rgba(255,46,77,0.15) !important; }
.bg-primary { background-color: #ff2e4d !important; }
.text-primary { color: #ff2e4d !important; }
.btn-primary { background-color: #ff2e4d !important; border-color: #ff2e4d !important; }
.btn-primary:hover { background-color: #F91155 !important; border-color: #F91155 !important; }
.badge-primary { background-color: #ff2e4d !important; }
header .bg-primary.h-50px { background: #ffffff !important; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
header .all-category { background: #ff2e4d !important; }
header .all-category .categoriesAll span,
header .all-category .las,
header .all-category span { color: #ffffff !important; }
header .hor-swipe a { color: #757575 !important; opacity: 1 !important; }
header .nav-cart-box > a { color: #757575 !important; background: transparent !important; }
header .nav-cart-box > a svg path,
header .nav-cart-box > a svg circle { fill: #919199 !important; }
header .nav-cart-box > a .text-white,
header .nav-cart-box > a span { color: #757575 !important; }
.aiz-category-menu .sub-cat-menu,
.aiz-category-menu { border-radius: 4px !important; }
.aiz-category-menu .category-nav-element:first-child,
.aiz-category-menu .card-header,
.aiz-category-menu .bg-primary { background-color: #ff2e4d !important; }
.todays_deal .bg-soft-primary { background-color: rgba(255,46,77,.14) !important; }
.otto-search-button { background-color: #ff2e4d !important; border-color: #ff2e4d !important; color: #fff !important; }

/* OTTO clone category menu alignment */
.aiz-category-menu .bg-primary,
.aiz-category-menu > .bg-primary,
.aiz-category-menu .card-header,
.aiz-category-menu .category-menu-title { background-color: #ff2e4d !important; }
.aiz-category-menu .category-nav-element > a { background: #ffffff !important; color: #1b1b28 !important; }
.aiz-category-menu .category-nav-element > a:hover { background: #f5f6f7 !important; color: #ff2e4d !important; }
.aiz-category-menu .category-nav-element > a.text-primary,
.aiz-category-menu .category-nav-element > a.active { color: #1b1b28 !important; background: #ffffff !important; }

/* OTTO clone header action buttons */
.otto-header-actions .otto-action-link { min-width: 64px; justify-content: center; }
.otto-header-actions i { color: #757575; line-height: 1; }
.otto-header-actions .badge { font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; padding: 0; }
header .align-self-stretch .nav-cart-box { display: none !important; }

/* OTTO policy page layout */
.otto-policy-content {
  color: #111827;
  line-height: 1.75;
}
.otto-policy-content .otto-policy-hero {
  padding: 28px 30px;
  border: 1px solid #eef0f4;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff7f9 0%, #ffffff 100%);
  margin-bottom: 24px;
}
.otto-policy-content .otto-policy-hero span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ff2e4d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.otto-policy-content .otto-policy-hero h2 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 10px;
  font-weight: 800;
}
.otto-policy-content .otto-policy-hero p {
  margin: 0;
  max-width: 920px;
  color: #5f6673;
  font-size: 16px;
}
.otto-policy-content .otto-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.otto-policy-content .otto-policy-card {
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  padding: 22px 24px;
  background: #fff;
  min-height: 150px;
}
.otto-policy-content .otto-policy-card h3 {
  position: relative;
  padding-bottom: 12px;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}
.otto-policy-content .otto-policy-card h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: #ff2e4d;
}
.otto-policy-content .otto-policy-card p {
  margin: 0;
  color: #424957;
  font-size: 15px;
}
.otto-policy-content .otto-policy-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid #ff2e4d;
  background: #f8fafc;
  color: #4b5563;
}
@media (max-width: 767.98px) {
  .otto-policy-content .otto-policy-hero { padding: 22px 18px; }
  .otto-policy-content .otto-policy-hero h2 { font-size: 24px; }
  .otto-policy-content .otto-policy-grid { grid-template-columns: 1fr; }
  .otto-policy-content .otto-policy-card { padding: 18px; min-height: 0; }
}

/* OTTO news page */
.otto-news-page {
  background: #f4f5f8;
}
.otto-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.otto-news-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(22, 29, 37, 0.05);
}
.otto-news-thumb {
  height: 210px;
  background: #eef1f5;
}
.otto-news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 28px 28px;
}
.otto-news-title {
  min-height: 66px;
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.22;
  font-weight: 800;
}
.otto-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: #9a9a9a;
  font-size: 14px;
  font-style: italic;
}
.otto-news-excerpt {
  display: -webkit-box;
  min-height: 72px;
  margin: 0 0 22px;
  overflow: hidden;
  color: #707783;
  font-size: 15px;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.otto-news-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 118px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ffdce3;
  color: #ff2e4d;
  font-weight: 700;
  transition: all 0.2s ease;
}
.otto-news-readmore:hover {
  background: #ff2e4d;
  color: #fff;
}
.otto-news-sidebar-card {
  border-radius: 6px;
  background: #fff;
}
.otto-news-empty {
  padding: 70px 24px;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}
.otto-news-empty i {
  color: #ff2e4d;
  font-size: 48px;
}
.otto-news-empty h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.otto-news-detail-card {
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  background: #fff;
  padding: 30px;
}
.otto-news-detail-title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 800;
}
.otto-news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #8a8f98;
  font-size: 14px;
  font-style: italic;
}
.otto-news-detail-image {
  max-height: 460px;
  object-fit: cover;
  border-radius: 6px;
}
.otto-news-detail-content {
  color: #27313f;
  font-size: 16px;
  line-height: 1.8;
}
.otto-news-detail-content h2,
.otto-news-detail-content h3 {
  margin: 28px 0 12px;
  font-weight: 800;
}
.otto-news-detail-content p {
  margin-bottom: 16px;
}
@media (max-width: 1199.98px) {
  .otto-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .otto-news-grid { grid-template-columns: 1fr; gap: 18px; }
  .otto-news-card { min-height: 0; }
  .otto-news-body { padding: 20px; }
  .otto-news-title { min-height: 0; font-size: 19px; }
  .otto-news-detail-card { padding: 20px; }
  .otto-news-detail-title { font-size: 24px; }
}

/* OTTO flash deals */
.otto-flash-page {
  background: #f4f5f8;
}
.otto-flash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.otto-flash-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 6px;
  background: #eef1f5;
  box-shadow: 0 8px 20px rgba(22, 29, 37, 0.06);
}
.otto-flash-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.otto-flash-card-info {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100% - 48px);
  padding: 14px 18px;
  border-radius: 6px;
  background: rgba(13, 18, 29, 0.78);
  color: #fff;
}
.otto-flash-card-info h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}
.otto-flash-card-info span {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ff2e4d;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.otto-flash-empty {
  padding: 70px 24px;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}
.otto-flash-empty i {
  color: #ff2e4d;
  font-size: 48px;
}
.otto-flash-empty h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.otto-flash-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 6px;
  background: #111827;
}
.otto-flash-detail-hero > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.otto-flash-detail-panel {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: 460px;
  padding: 26px 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}
.otto-flash-detail-panel span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ff2e4d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.otto-flash-detail-panel h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
}
.otto-flash-detail-panel p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 15px;
}
.otto-flash-countdown {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}
.otto-flash-products {
  padding: 24px;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  background: #fff;
}
@media (max-width: 991.98px) {
  .otto-flash-grid { grid-template-columns: 1fr; gap: 18px; }
  .otto-flash-card { min-height: 300px; }
}
@media (max-width: 767.98px) {
  .otto-flash-card { min-height: 220px; }
  .otto-flash-card-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .otto-flash-detail-hero,
  .otto-flash-detail-hero > img { min-height: 300px; }
  .otto-flash-detail-panel {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    border-radius: 0;
  }
  .otto-flash-detail-panel h2 { font-size: 24px; }
  .otto-flash-products { padding: 16px; }
}


/* OTTO policy page v2 */
.otto-policy-content.otto-policy-v2 {
  color: #111827;
  line-height: 1.7;
}
.otto-policy-v2 .otto-policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7f9 0%, #ffffff 58%, #f3f7ff 100%);
  margin-bottom: 18px;
}
.otto-policy-v2 .otto-policy-hero-copy span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ff2e4d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}
.otto-policy-v2 .otto-policy-hero-copy h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
}
.otto-policy-v2 .otto-policy-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: #536071;
  font-size: 16px;
}
.otto-policy-v2 .otto-policy-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}
.otto-policy-v2 .otto-policy-hero-panel div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.otto-policy-v2 .otto-policy-hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.otto-policy-v2 .otto-policy-hero-panel strong {
  display: block;
  margin-bottom: 4px;
  color: #9ca3af;
  font-size: 12px;
  text-transform: uppercase;
}
.otto-policy-v2 .otto-policy-hero-panel b {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.otto-policy-v2 .otto-policy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px;
  margin-bottom: 22px;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #fff;
}
.otto-policy-v2 .otto-policy-tabs strong {
  margin-right: 6px;
  color: #111827;
}
.otto-policy-v2 .otto-policy-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s ease;
}
.otto-policy-v2 .otto-policy-tabs a:hover,
.otto-policy-v2 .otto-policy-tabs a.active {
  border-color: #ff2e4d;
  background: #ff2e4d;
  color: #fff;
}
.otto-policy-v2 .otto-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.otto-policy-v2 .otto-policy-card {
  position: relative;
  min-height: 210px;
  padding: 26px 24px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .045);
}
.otto-policy-v2 .otto-policy-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff0f3;
  color: #ff2e4d;
  font-style: normal;
  font-weight: 800;
}
.otto-policy-v2 .otto-policy-card h3 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}
.otto-policy-v2 .otto-policy-card h3:after {
  display: none;
}
.otto-policy-v2 .otto-policy-card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}
.otto-policy-v2 .otto-policy-note {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid #ffd4dc;
  border-left: 5px solid #ff2e4d;
  border-radius: 8px;
  background: #fff7f9;
}
.otto-policy-v2 .otto-policy-note strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 38px;
  border: 2px solid #ff2e4d;
  border-radius: 999px;
  color: #ff2e4d;
  font-weight: 900;
}
.otto-policy-v2 .otto-policy-note p {
  margin: 0;
  color: #374151;
  font-weight: 600;
}
@media (max-width: 1199.98px) {
  .otto-policy-v2 .otto-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .otto-policy-v2 .otto-policy-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .otto-policy-v2 .otto-policy-hero-copy h2 {
    font-size: 26px;
  }
  .otto-policy-v2 .otto-policy-grid {
    grid-template-columns: 1fr;
  }
  .otto-policy-v2 .otto-policy-card {
    min-height: 0;
  }
  .otto-policy-v2 .otto-policy-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* OTTO marketplace UI refresh 2026 */
:root {
  --otto-red: #ff2e4d;
  --otto-red-dark: #e8183c;
  --otto-orange: #ff8a00;
  --otto-ink: #111827;
  --otto-muted: #667085;
  --otto-line: #e6eaf0;
  --otto-soft: #f3f5f8;
  --otto-card: #ffffff;
  --otto-blue: #0f3f91;
}

body {
  background: var(--otto-soft) !important;
  color: var(--otto-ink);
}

.top-navbar {
  min-height: 38px;
  background: #f8fafc !important;
  border-color: #edf0f4 !important;
  font-size: 13px;
}

.top-navbar a,
.top-navbar .dropdown-toggle {
  color: #596273 !important;
  font-weight: 600;
}

header.bg-white {
  border-bottom: 0 !important;
  box-shadow: 0 8px 28px rgba(17, 24, 39, .08) !important;
}

.logo-bar-area {
  background: linear-gradient(180deg, #fff 0%, #fff 65%, #fbfcfe 100%);
}

.logo-bar-area .container > .d-flex {
  min-height: 86px;
}

.logo-bar-area img[alt="OTTO"],
.logo-bar-area a[href$="/"] img,
.logo-bar-area a[href*="home"] img {
  max-height: 58px !important;
  object-fit: contain;
}

.front-header-search {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.otto-search-box {
  height: 54px;
  overflow: hidden;
  border: 2px solid var(--otto-red);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(255, 46, 77, .14);
}

.otto-search-box .otto-search-type {
  min-width: 116px;
  border: 0 !important;
  border-right: 1px solid #edf0f4 !important;
  background: #fff7f9 !important;
}

.otto-search-input {
  height: 50px;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  padding-left: 22px !important;
}

.otto-search-button {
  min-width: 86px;
  border: 0 !important;
  border-radius: 0 999px 999px 0 !important;
  background: linear-gradient(135deg, var(--otto-red), var(--otto-orange)) !important;
  color: #fff !important;
}

.otto-header-actions .otto-action-link {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  transition: background .18s ease, transform .18s ease;
}

.otto-header-actions .otto-action-link:hover {
  background: #fff1f3;
  transform: translateY(-1px);
}

.otto-header-actions .badge,
#compare .badge,
#wishlist .badge,
#cart_items .badge {
  background: var(--otto-red) !important;
}

.category-menu-bar {
  background: var(--otto-red) !important;
  border-radius: 10px 10px 0 0;
}

header .hor-swipe a {
  position: relative;
  min-height: 42px;
  border-radius: 999px;
  color: #273244 !important;
  opacity: 1 !important;
}

header .hor-swipe a:hover,
header .hor-swipe a.active {
  background: #fff1f3;
  color: var(--otto-red) !important;
}

.home-banner-area.otto-marketplace-home {
  padding-top: 22px;
  padding-bottom: 6px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 138, 0, .08), transparent 28%),
    radial-gradient(circle at 88% 5%, rgba(15, 63, 145, .08), transparent 26%),
    var(--otto-soft);
}

.home-banner-area.otto-marketplace-home .container,
section .container,
.mb-2.mb-md-3 > .container {
  max-width: 1720px;
}

.home-banner-area.otto-marketplace-home .aiz-category-menu {
  width: 260px;
  min-height: 630px;
  overflow: hidden;
  border: 1px solid var(--otto-line);
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(17, 24, 39, .08) !important;
}

.aiz-category-menu .all-category {
  height: 58px;
  background: linear-gradient(135deg, var(--otto-blue), #0b57c2) !important;
  color: #fff;
}

.aiz-category-menu .all-category a,
.aiz-category-menu .all-category span {
  color: #fff !important;
}

.aiz-category-menu .categories {
  padding: 10px 8px !important;
}

.aiz-category-menu .category-nav-element > a {
  display: flex !important;
  align-items: center;
  min-height: 44px;
  margin: 2px 0;
  border-radius: 8px;
  color: #263241 !important;
  font-weight: 700;
  transition: all .16s ease;
}

.aiz-category-menu .category-nav-element > a:hover {
  background: #fff1f3;
  color: var(--otto-red) !important;
  transform: translateX(2px);
}

.aiz-category-menu .cat-image {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}

.home-banner-area.otto-marketplace-home .col-lg.mt-4 {
  margin-top: 0 !important;
}

.home-slider {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .10);
}

.home-slider .carousel-box,
.home-slider a,
.home-slider img {
  border-radius: 14px;
}

.home-slider img {
  width: 100%;
  min-height: 380px;
  background: #fff;
  object-fit: cover;
}

.home-banner-area.otto-marketplace-home .bg-whit.mt-4 {
  margin-top: 16px !important;
  padding: 12px 10px;
  border: 1px solid var(--otto-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 24, 39, .06);
}

.home-banner-area.otto-marketplace-home .carousel-box .d-flex.flex-column {
  width: 132px !important;
  height: 148px !important;
  border: 1px solid #edf0f4;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.home-banner-area.otto-marketplace-home .carousel-box .d-flex.flex-column > .overflow-hidden {
  width: 132px !important;
  height: 96px !important;
  min-height: 96px !important;
  background: #f8fafc;
}

.home-banner-area.otto-marketplace-home .carousel-box .d-flex.flex-column img {
  object-fit: contain;
}

.todays_deal {
  width: 286px !important;
  border: 1px solid var(--otto-line);
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .10);
}

.todays_deal .bg-soft-primary {
  justify-content: space-between !important;
  min-height: 56px;
  background: #fff7f9 !important;
  color: var(--otto-ink);
  border-bottom: 1px solid #ffd6dd;
}

.todays_deal .badge-primary {
  background: var(--otto-red) !important;
}

.todays_deal .c-scrollbar-light {
  height: 548px !important;
  max-height: 548px !important;
  padding: 10px !important;
  background: linear-gradient(180deg, #fff, #fff6f8) !important;
}

.todays_deal .col.mb-2 a {
  border: 1px solid #f0dbe0;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(255, 46, 77, .08);
  transition: all .16s ease;
}

.todays_deal .col.mb-2 a:hover {
  border-color: var(--otto-red);
  transform: translateY(-1px);
}

.todays_deal .img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 92px;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
}

.todays_deal .img img {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
}

.todays_deal .text-primary {
  color: var(--otto-red) !important;
  font-size: 16px !important;
}

#flash_deal > .container > .rounded-2,
.mb-2.mb-md-3 > .container > .rounded-2,
.mb-2.mb-md-3 .container > .w-100,
#section_newest .bg-white,
#section_best_selling .bg-white,
#section_featured .bg-white,
#section_home_categories .bg-white {
  border: 1px solid var(--otto-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(17, 24, 39, .06);
}

.aiz-card-box,
.product-card,
.flash-deal-item {
  border: 1px solid #eef1f5 !important;
  border-radius: 12px !important;
  background: #fff !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.aiz-card-box:hover,
.product-card:hover,
.flash-deal-item:hover {
  border-color: #ffc4cf !important;
  box-shadow: 0 16px 34px rgba(17, 24, 39, .10) !important;
  transform: translateY(-2px);
}

.aiz-card-box img,
.product-card img,
.flash-deal-item img {
  object-fit: contain !important;
  background: #fff;
}

.aiz-p-hov-icon a,
.aiz-card-box .cart-btn,
.product-card .cart-btn {
  border-radius: 999px !important;
}

.btn-primary,
.bg-primary,
.badge-primary {
  background-color: var(--otto-red) !important;
  border-color: var(--otto-red) !important;
}

.text-primary {
  color: var(--otto-red) !important;
}

.btn-primary:hover {
  background-color: var(--otto-red-dark) !important;
  border-color: var(--otto-red-dark) !important;
}

.section-title,
section h3.fs-16,
section h3.fs-22,
#section_newest h3,
#section_best_selling h3,
#section_featured h3 {
  color: var(--otto-ink);
  letter-spacing: 0;
}

.animate-underline-primary:after,
.border-primary,
.border-bottom-primary {
  border-color: var(--otto-red) !important;
}

.aiz-carousel .slick-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .16);
}

.aiz-carousel .slick-arrow:hover {
  background: var(--otto-red) !important;
  color: #fff !important;
}

.otto-customer-service-fab,
.otto-customer-service-panel .btn-primary,
.otto-support-launcher {
  box-shadow: 0 18px 42px rgba(255, 46, 77, .28) !important;
}

footer,
.footer {
  background: #101722 !important;
}

@media (min-width: 1200px) {
  .home-banner-area.otto-marketplace-home .row.gutters-12 {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 286px;
    gap: 20px;
  }
  .home-banner-area.otto-marketplace-home .row.gutters-12 > .position-static,
  .home-banner-area.otto-marketplace-home .row.gutters-12 > .col-lg,
  .home-banner-area.otto-marketplace-home .row.gutters-12 > .col-12 {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1199.98px) {
  .home-slider img {
    min-height: 300px;
  }
  .todays_deal {
    width: 100% !important;
  }
  .todays_deal .c-scrollbar-light {
    height: auto !important;
    max-height: none !important;
  }
}

@media (max-width: 991.98px) {
  .logo-bar-area .container > .d-flex {
    min-height: 72px;
  }
  .front-header-search {
    max-width: none;
  }
  .otto-search-box {
    height: 48px;
  }
  .otto-search-input {
    height: 44px;
  }
  .home-banner-area.otto-marketplace-home {
    padding-top: 14px;
  }
  .home-slider img {
    min-height: 230px;
  }
}

@media (max-width: 767.98px) {
  .home-slider img {
    min-height: 190px;
  }
  .home-banner-area.otto-marketplace-home .bg-whit.mt-4 {
    padding: 10px 6px;
  }
  .todays_deal .img {
    width: 96px;
    height: 86px;
  }
}

/* OTTO Shopee-style marketplace refresh 2026 */
.otto-market-selector .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700 !important;
}

.otto-market-selector .market-current-country {
  color: inherit;
}

.otto-market-selector .market-current-language {
  opacity: .78;
}

.otto-market-menu {
  width: 260px;
  max-height: 430px;
  overflow-y: auto;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 38px rgba(17, 24, 39, .16) !important;
  padding: 8px !important;
}

.otto-market-item {
  display: grid !important;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 8px;
  color: #202634 !important;
}

.otto-market-item.active,
.otto-market-item:hover {
  background: #fff1e9 !important;
  color: #ee4d2d !important;
}

.otto-market-item .language {
  font-size: 12px;
  color: #7a8393;
}

.top-navbar {
  background: #ee4d2d !important;
  border: 0 !important;
}

.top-navbar a,
.top-navbar .dropdown-toggle {
  color: #fff !important;
}

header.bg-white {
  background: linear-gradient(180deg, #ff5a33 0%, #ee4d2d 100%) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.logo-bar-area {
  background: transparent !important;
}

.logo-bar-area .container > .d-flex {
  min-height: 92px;
}

.logo-bar-area .col-auto.pl-0 > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 58px;
  padding: 8px 14px !important;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(121, 35, 16, .14);
}

.logo-bar-area .col-auto.pl-0 > a img {
  max-height: 46px !important;
}

.front-header-search {
  max-width: 900px;
}

.otto-search-box {
  height: 52px;
  border: 3px solid #fff !important;
  border-radius: 4px !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(121, 35, 16, .18);
}

.otto-search-box .otto-search-type {
  min-width: 120px;
  height: 46px !important;
  border: 0 !important;
  border-right: 1px solid #f1f2f5 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.otto-search-input {
  height: 46px !important;
}

.otto-search-button {
  min-width: 76px;
  height: 46px !important;
  border-radius: 2px !important;
  background: #ee4d2d !important;
}

header .hov-opacity-100,
header .text-reset,
header .text-secondary,
header .nav-box-icon {
  color: #fff !important;
}

header .badge-primary,
header .bg-primary {
  background: #fff !important;
  color: #ee4d2d !important;
}

.all-category {
  background: #d83d20 !important;
}

.all-category > .px-3 {
  width: 238px !important;
}

.hov-category-menu,
.hover-category-menu {
  background: #fff;
}

.hor-swipe li a,
.hor-swipe .text-reset {
  color: #fff !important;
  font-weight: 700;
}

.home-banner-area.otto-marketplace-home {
  padding-top: 22px;
  padding-bottom: 20px;
  background: #f5f5f5;
}

.home-banner-area.otto-marketplace-home .container {
  max-width: 1500px;
}

.home-banner-area.otto-marketplace-home .row.gutters-12 {
  margin-left: 0;
  margin-right: 0;
}

.home-banner-area.otto-marketplace-home .position-static.d-none.d-xl-block {
  display: none !important;
}

.home-banner-area.otto-marketplace-home .col-lg.mt-4,
.home-banner-area.otto-marketplace-home .col-12.col-lg-auto.mt-4 {
  margin-top: 0 !important;
}

.home-slider {
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.home-slider .aiz-carousel,
.home-slider .carousel-box,
.home-slider a {
  height: 100%;
}

.home-slider img {
  width: 100%;
  height: 300px !important;
  min-height: 300px !important;
  object-fit: cover !important;
  border-radius: 4px;
}

.todays_deal {
  width: 320px !important;
  height: 300px;
  border: 0 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.todays_deal .bg-soft-primary {
  min-height: 48px;
  background: linear-gradient(90deg, #fff5f1, #ffe7e0) !important;
  border-bottom: 1px solid #ffcfbf;
  justify-content: center !important;
}

.todays_deal .bg-soft-primary .fw-700 {
  color: #202634;
}

.todays_deal .badge-primary {
  background: #ee4d2d !important;
  color: #fff !important;
}

.todays_deal .c-scrollbar-light {
  height: 252px !important;
  max-height: 252px !important;
  background: #ee4d2d !important;
  padding: 8px !important;
}

.todays_deal .c-scrollbar-light > .row {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
}

.todays_deal .col.mb-2 {
  margin-bottom: 0 !important;
}

.todays_deal .col.mb-2 a {
  height: 76px !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.todays_deal .img {
  width: 74px;
  height: 58px;
}

.todays_deal .img img {
  height: 58px !important;
}

.todays_deal .text-primary {
  color: #ee4d2d !important;
  font-size: 14px !important;
}

.home-banner-area.otto-marketplace-home .bg-whit.mt-4 {
  margin-top: 14px !important;
  padding: 0;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff !important;
  box-shadow: none;
}

.home-banner-area.otto-marketplace-home .bg-whit.mt-4 .aiz-carousel {
  padding: 0;
}

.home-banner-area.otto-marketplace-home .bg-whit.mt-4 .carousel-box > div {
  width: 100% !important;
  height: 150px !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  border-right: 1px solid #edf0f4;
}

.home-banner-area.otto-marketplace-home .bg-whit.mt-4 .carousel-box img {
  object-fit: contain !important;
  padding: 10px;
}

.home-banner-area.otto-marketplace-home .bg-whit.mt-4 p {
  font-size: 14px !important;
  color: #273043;
}

#flash_deal .rounded-2,
.mb-2.mb-md-3.mt-2.mt-md-3 .container > .rounded-2,
.mb-2.mb-md-3.mt-2.mt-md-3 .container > .w-100,
#section_newest .rounded-2 {
  border-radius: 4px !important;
  box-shadow: none !important;
}

#flash_deal .rounded-2 {
  border: 0 !important;
  background: #fff !important;
  border-top: 4px solid #ee4d2d !important;
}

#flash_deal h3 span,
#section_newest h3 span {
  color: #ee4d2d;
  text-transform: uppercase;
}

#section_newest .rounded-2 {
  border: 0 !important;
  border-top: 4px solid #ee4d2d !important;
}

#section_newest .carousel-box {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

#section_newest .aiz-card-box {
  min-height: 330px;
  border-radius: 4px !important;
  border: 1px solid #e6e8ed !important;
  box-shadow: none !important;
}

#section_newest .aiz-card-box:hover {
  border-color: #ee4d2d !important;
  transform: translateY(-2px);
}

#section_newest .aiz-card-box .position-relative {
  height: 220px !important;
  background: #fff;
}

#section_newest .aiz-card-box img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
}

.mb-2.mb-md-3.mt-2.mt-md-3 .container > .w-100 .carousel-box img,
.mb-2.mb-md-3.mt-2.mt-md-3 .container > .rounded-2 .carousel-box img {
  height: 220px;
  object-fit: cover;
}

@media (min-width: 1200px) {
  .home-banner-area.otto-marketplace-home .row.gutters-12 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 12px;
  }
  .home-banner-area.otto-marketplace-home .row.gutters-12 > .col-lg,
  .home-banner-area.otto-marketplace-home .row.gutters-12 > .col-12 {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1199.98px) {
  .home-banner-area.otto-marketplace-home .position-static.d-none.d-xl-block {
    display: none !important;
  }
  .todays_deal {
    width: 100% !important;
    height: auto;
  }
  .todays_deal .c-scrollbar-light {
    height: auto !important;
    max-height: none !important;
  }
  .todays_deal .c-scrollbar-light > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  header.bg-white {
    background: #ee4d2d !important;
  }
  .front-header-search {
    max-width: none;
  }
  .logo-bar-area .container > .d-flex {
    min-height: 76px;
  }
  .home-slider img {
    height: 230px !important;
    min-height: 230px !important;
  }
}

@media (max-width: 767.98px) {
  .top-navbar {
    background: #fff !important;
  }
  .top-navbar a,
  .top-navbar .dropdown-toggle {
    color: #4b5563 !important;
  }
  .home-slider img {
    height: 190px !important;
    min-height: 190px !important;
  }
  .todays_deal .c-scrollbar-light > .row {
    grid-template-columns: 1fr;
  }
  #section_newest .aiz-card-box .position-relative {
    height: 170px !important;
  }
}

.otto-marketplace-home .otto-hero-main {
  min-width: 0;
}

.otto-marketplace-home .otto-promo-col {
  min-width: 280px;
}

.otto-promo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 300px;
}

.otto-promo-tile {
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  position: relative;
}

.otto-promo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .18s ease;
}

.otto-promo-tile:hover img {
  transform: scale(1.035);
}

.otto-promo-product span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #ee4d2d;
  font-weight: 800;
}

.otto-marketplace-home .otto-strip-head {
  padding: 14px 18px;
  color: #ee4d2d;
  border-bottom: 1px solid #f0f1f4;
}

.otto-marketplace-home .otto-todays-strip .todays_deal {
  width: 100% !important;
  border: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.otto-marketplace-home .otto-todays-strip .c-scrollbar-light {
  height: auto !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  background: #fff !important;
}

.otto-marketplace-home .otto-todays-strip .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-left: -5px !important;
  margin-right: -5px !important;
}

.otto-marketplace-home .otto-todays-strip .row > .col-6 {
  flex: 0 0 180px !important;
  max-width: 180px !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.otto-marketplace-home .otto-todays-strip .img img,
.otto-marketplace-home .otto-todays-strip img {
  height: 120px !important;
  max-height: 120px !important;
  object-fit: contain !important;
}

.otto-marketplace-home .otto-todays-strip {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  .home-banner-area.otto-marketplace-home .home-slider img {
    height: 300px !important;
    min-height: 300px !important;
  }

  .otto-marketplace-home .otto-promo-col {
    flex: 0 0 320px;
    max-width: 320px;
  }

  .otto-marketplace-home .otto-hero-main {
    flex-basis: 0;
    flex-grow: 1;
    max-width: calc(100% - 320px);
  }
}

@media (max-width: 1199.98px) {
  .home-banner-area.otto-marketplace-home .row.gutters-12 {
    display: flex;
  }
}

@media (max-width: 991.98px) {
  .otto-promo-stack {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .otto-promo-tile {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 575.98px) {
  .otto-promo-stack {
    grid-template-columns: 1fr;
  }
}
