/* ================= Reset & base ================= */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #F6F5F1;
  color: #0F172A;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2 { font-family: 'Segoe UI', system-ui, sans-serif; font-weight: 600; margin: 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.accent { color: #FF6B35; }

/* ================= Navbar ================= */
.navbar { background: #0F172A; color: #fff; position: sticky; top: 0; z-index: 40; }
.navbar-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo { font-size: 20px; font-weight: 700; color: #fff; display: flex; align-items: center; }
.navbar nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.navbar nav a { color: #fff; }
.navbar nav a:hover { color: #FF6B35; }
.btn-nav { background: #FF6B35; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.btn-nav:hover { background: #e85a25; color: #fff !important; }

.hamburger-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.hamburger-btn span { width: 22px; height: 2px; background: #fff; display: block; border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .hamburger-btn { display: flex; }
  .navbar nav {
    position: absolute; top: 64px; left: 0; right: 0; background: #0F172A;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .navbar nav.open { max-height: 400px; padding: 8px 0; }
  .navbar nav a { width: 100%; padding: 12px 20px; }
  .navbar nav .btn-nav { margin: 8px 20px; width: calc(100% - 40px); text-align: center; }
}

/* ================= Layout ================= */
.main-content { padding: 20px 0px; }
@media (max-width: 640px) { .main-content { padding: 24px 16px; } .container { padding: 0 16px; } }
.subtitle { color: #6B7280; margin-top: 4px; margin-bottom: 24px; }
.count-label { color: #6B7280; margin-bottom: 24px; }
.back-link { font-size: 14px; color: #0E7C7B; display: inline-block; margin-bottom: 16px; }
.empty-box {
  border: 1px dashed #E4E1D8; border-radius: 16px; padding: 40px; text-align: center; color: #6B7280;
}

/* ================= Section headers ================= */
.section { margin-bottom: 48px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-header h2 { font-size: 24px; }
.view-all { color: #0E7C7B; font-size: 14px; font-weight: 600; }
.view-all:hover { text-decoration: underline; }

/* ================= Slider (horizontal scroll) =================
   Each slider container sets --items-mobile / --items-tablet / --items-desktop
   via a type class (e.g. .category-slider, .brand-slider). Defaults below match
   the product slider (2.5 / 5 / 7) when no type class is set. */
.slider {
  --items-mobile: 2.5;
  --items-tablet: 5;
  --items-desktop: 7;
  --slider-gap: 16px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--slider-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider { scrollbar-width: none; -ms-overflow-style: none; }
.slider > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc((100% - (var(--items-mobile) - 1) * var(--slider-gap)) / var(--items-mobile));
}
@media (min-width: 640px) {
  .slider > * { width: calc((100% - (var(--items-tablet) - 1) * var(--slider-gap)) / var(--items-tablet)); }
}
@media (min-width: 1024px) {
  .slider > * { width: calc((100% - (var(--items-desktop) - 1) * var(--slider-gap)) / var(--items-desktop)); }
}

.category-slider { --items-tablet: 6; --items-desktop: 7; }
.product-slider { --items-tablet: 5; --items-desktop: 7; }
.brand-slider { --items-tablet: 4; --items-desktop: 12; }
.coupon-slider { --items-tablet: 4; --items-desktop: 8; }
.video-slider { --items-tablet: 4; --items-desktop: 8; }
.banner-slider { --items-tablet: 3; --items-desktop: 4; }
.blog-slider { --items-tablet: 4; --items-desktop: 4; }

/* ================= Slider arrows ================= */
.slider-wrapper { position: relative; }
.slider-arrow {
  display: none;
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: #FF6B35; border: 1px solid #FF6B35;
  align-items: center; justify-content: center; cursor: pointer; z-index: 5;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);color: #fff;
}
.slider-arrow:hover { background: #FF6B35; border-color: #FF6B35; color: #fff; }
.slider-arrow-left { left: -18px; }
.slider-arrow-right { right: -18px; }
@media (min-width: 768px) {
  .slider-arrow { display: flex; }
}
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(6, 1fr); } }

/* ================= Category card ================= */
.category-card {
  display: block; background: none; border: 0px solid #E4E1D8; border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s;
}
.category-card:hover image { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.category-card-image { aspect-ratio: 4/3; background: none; overflow: hidden; }
.category-card-image img { width: 100%; height: 100%; object-fit: cover; width: 136px; height: 136px; border-radius: 140px; }
.category-card p { padding: 10px; font-weight: 600; text-align: center; font-size: 14px; }

/* ================= Product card ================= */
.product-card {
  display: block; background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.product-card-image { position: relative; aspect-ratio: 1/1; background: #F6F5F1; overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #6B7280; font-size: 13px; }
.product-card-info { padding: 14px; }
.product-title {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.4;
    min-height: 2.7em;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.sale-price { font-size: 17px; font-weight: 700; }
.regular-price { font-size: 13px; color: #6B7280; text-decoration: line-through; }
.price-tag {
  position: absolute; bottom: 10px; left: 0; background: #0a0022; color: #fff; font-weight: 500; font-size: 10px;
  padding: 4px 10px 4px 14px; border-radius: 0 4px 4px 0;
}

/* ================= Brand card ================= */
.brand-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.brand-logo {
  width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 1px solid #E4E1D8;
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo span { font-size: 20px; color: #6B7280; font-weight: 700; }
.brand-card p { font-size: 14px; font-weight: 600; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .brand-grid { grid-template-columns: repeat(6, 1fr); } }
.brand-header { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }
.brand-logo-large {
  width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 1px solid #E4E1D8;
  display: flex; align-items: center; justify-content: center; padding: 12px; flex-shrink: 0;
}
.brand-logo-large img { width: 100%; height: 100%; object-fit: contain; }

/* ================= Product detail page ================= */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.main-image { aspect-ratio: 1/1; background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; overflow: hidden; }
.main-image img { width: 100%; height: 100%; object-fit: contain; }
.thumbnails { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; }
.thumb-btn {
  width: 64px; height: 64px; border-radius: 8px; border: 2px solid #E4E1D8; overflow: hidden; flex-shrink: 0;
  padding: 0; background: none; cursor: pointer;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 20px; margin-bottom: 12px; }
.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.sale-price-big { font-size: 30px; font-weight: 700; }
.regular-price-big { font-size: 18px; color: #6B7280; text-decoration: line-through; }
.description { color: #6B7280; line-height: 1.7; margin: 16px 0; font-size: 14px; }
.buy-now-btn {
  display: inline-block; background: #FF6B35; color: #fff; font-weight: 600; padding: 14px 32px;
  border-radius: 999px; margin-top: 8px;
}
.buy-now-btn:hover { background: #e85a25; }
.disclaimer { font-size: 12px; color: #6B7280; margin-top: 12px; }

.share-buttons { margin-top: 32px; padding-top: 24px; border-top: 1px solid #E4E1D8; display: flex; align-items: center; gap:10px }
.share-label { font-size: 14px; font-weight: 600; margin-bottom: 0px; }
.share-buttons a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: #F6F5F1; border: 1px solid #E4E1D8; margin-right: 10px; font-size: 12px; font-weight: 600;
}
.share-buttons a:hover { box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.copy-link-btn {width: 42px;height: 42px;border: none;border-radius: 50%;background: #f3f4f6;color: #333;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: 0.3s;
}

.copy-link-btn:hover {background: #2563eb;color: #fff;}
/* ================= Footer ================= */
.site-footer { border-top: 1px solid #0f172a; margin-top: 40px;background: #0f172a; }
.footer-inner { padding: 24px 20px; font-size: 14px; color: #6B7280; }

/* ================= Login page ================= */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #0F172A; }
.login-form {
  background: #fff; border-radius: 16px; padding: 32px; width: 100%; max-width: 360px;
}
.login-form h1 { text-align: center; font-size: 24px; }
.login-form .subtitle { text-align: center; margin-top: 4px; margin-bottom: 20px; }
.login-form label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.login-form input {
  width: 100%; border: 1px solid #E4E1D8; border-radius: 8px; padding: 10px 12px; font-size: 14px;
}
.login-form button {
  width: 100%; margin-top: 20px; background: #FF6B35; color: #fff; font-weight: 600; border: none;
  padding: 12px; border-radius: 999px; cursor: pointer; font-size: 14px;
}
.login-form button:hover { background: #e85a25; }
.error { color: #ef4444; font-size: 14px; margin-bottom: 8px; }
.success { color: #0E7C7B; font-size: 14px; margin-bottom: 8px; }

/* ================= Admin layout ================= */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; background: #0F172A; color: #fff; flex-shrink: 0; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.admin-logo { font-size: 18px; font-weight: 700; color: #fff; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar nav { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar nav a { color: rgba(255,255,255,.8); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.08); }
.admin-sidebar nav a.active { background: #FF6B35; color: #fff; }
.admin-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 8px; }
.admin-sidebar-footer a { font-size: 12px; color: rgba(255,255,255,.6); }
.admin-content { flex: 1; min-width: 0; }
.admin-topbar { background: #fff; border-bottom: 1px solid #E4E1D8; padding: 0 24px; height: 64px; display: flex; align-items: center; }
.admin-main { padding: 24px; max-width: 900px; }

.btn-primary {
  display: inline-block; background: #FF6B35; color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; margin-bottom: 20px;
}
.btn-primary:hover { background: #e85a25; }

.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.admin-card { background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; overflow: hidden; }
.admin-card-image { aspect-ratio: 16/9; background: #F6F5F1; }
.admin-card-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-card-body { padding: 14px; }
.admin-card-body .title { font-weight: 600; margin-bottom: 4px; }
.admin-card-body .muted { font-size: 12px; color: #6B7280; margin-bottom: 4px; }
.actions { display: flex; gap: 12px; margin-top: 10px; font-size: 13px; }
.actions a { color: #0E7C7B; }
.actions .danger { color: #ef4444; }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #E4E1D8; }
.admin-table th { background: #F6F5F1; color: #6B7280; font-weight: 600; }
.admin-table td a { color: #0E7C7B; margin-right: 12px; }
.admin-table td a.danger { color: #ef4444; }

.product-group { margin-bottom: 28px; }
.product-group-header { margin-bottom: 10px; }
.select-all-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.select-all-label input { width: 16px; height: 16px; }
.select-all-label .muted { color: #6B7280; font-weight: normal; font-size: 13px; }
.product-checkbox { width: 16px; height: 16px; }
.btn-danger {
  background: #ef4444; color: #fff; font-weight: 600; font-size: 14px; border: none;
  padding: 12px 24px; border-radius: 999px; cursor: pointer; margin-top: 8px;
}
.btn-danger:hover:not(:disabled) { background: #dc2626; }
.btn-danger:disabled { background: #E4E1D8; color: #9CA3AF; cursor: not-allowed; }

.admin-form { background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; padding: 24px; max-width: 560px; }
.admin-form label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.admin-form label:first-child { margin-top: 0; }
.admin-form input[type=text], .admin-form input[type=url], .admin-form input[type=number],
.admin-form input[type=password], .admin-form select, .admin-form textarea {
  width: 100%; border: 1px solid #E4E1D8; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.admin-form textarea { resize: vertical; }
.admin-form input[type=file] { font-size: 13px; }
.admin-form hr { border: none; border-top: 1px solid #E4E1D8; margin: 24px 0 8px; }
.admin-form button {
  margin-top: 24px; background: #FF6B35; color: #fff; font-weight: 600; border: none;
  padding: 12px 24px; border-radius: 999px; cursor: pointer; font-size: 14px;
}
.admin-form button:hover { background: #e85a25; }
.preview-image { width: 100%; max-width: 240px; border-radius: 8px; border: 1px solid #E4E1D8; margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card { display: block; background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; padding: 24px; }
.stat-card p { color: #6B7280; font-size: 14px; margin: 0 0 4px; }
.stat-card h2 { font-size: 32px; }

.btn-secondary {
  display: inline-block; background: #fff; color: #0F172A; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid #E4E1D8;
}
.btn-secondary:hover { background: #F6F5F1; }

/* ================= Footer nav (custom pages) ================= */
.footer-inner { display: flex; align-items: center; justify-content:center; flex-wrap: wrap; gap: 12px;color: #fff;flex-direction: column; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; color: #fff; }
.footer-nav a:hover { color: #fff; }
.footer-inner p{padding: 0; margin: 0;}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: #F6F5F1; border: 1px solid #E4E1D8;
  display: flex; align-items: center; justify-content: center; color: #0F172A;
}
.footer-social a:hover { background: #FF6B35; color: #fff; border-color: #FF6B35; }

/* ================= Coupon card ================= */
.coupon-card { background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.coupon-logo {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid #E4E1D8; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; padding: 4px;
}
.coupon-logo img { width: 100%; height: 100%; object-fit: contain; }
.coupon-logo span { font-weight: 700; color: #6B7280; }
.coupon-brand {font-weight: 600;margin-bottom: 2px;font-size: 12px;}
.coupon-discount {color: #0E7C7B;font-size: 10px;font-weight: 600;margin-bottom: 10px;overflow: hidden;-webkit-line-clamp: 2;display: -webkit-box;-webkit-box-orient: vertical;}
.coupon-reveal-btn {
  width: 100%;
  background: #fff;
  border: 2px dashed #FF6B35;
  color: #FF6B35;
  font-weight: 600;
  font-size: 10px;
  padding: 4px;
  border-radius: 999px;
  cursor: pointer;
}
.coupon-reveal-btn:hover { background: #FF6B35; color: #fff; }
.coupon-code-row {width: 100%;display: flex;gap: 8px;align-items: center;flex-direction: column;}
.coupon-code-text {
  flex: 1;
  border: 1px dashed #E4E1D8;
  border-radius: 999px;
  padding: 4px 6px;
  font-size: 10px;
  font-family: monospace;
  letter-spacing: .5px;
  background: #F6F5F1;
}
.coupon-copy-btn {
  flex-shrink: 0;
  background: #FF6B35;
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  border: none;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.coupon-copy-btn:hover { background: #e85a25; }

/* ================= Video card ================= */
.video-card { background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.video-embed { aspect-ratio: 9/16; background: #0F172A; }
.video-embed-youtube iframe, .video-embed-youtube > div { width: 100%; height: 100%; }
.video-embed-instagram, .video-embed-pinterest { background: #F6F5F1; min-height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: auto; }
.video-embed-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; }
.video-embed-fallback .play-icon { font-size: 28px; }
.video-embed-fallback .platform-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.7); }
.video-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.video-caption { font-size: 13px; color: #6B7280; }
.video-watch-link { font-size: 12px; color: #0E7C7B; }
.video-watch-link:hover { text-decoration: underline; }
.video-like-btn { display: flex; align-items: center; gap: 6px; background: none; border: none; font-size: 14px; font-weight: 600; color: #6B7280; cursor: pointer; width: fit-content; padding: 0; }
.video-follow-btn {
  width: 100%; background: #FF6B35; color: #fff; font-weight: 600; font-size: 14px; border: none;
  padding: 10px; border-radius: 999px; cursor: pointer;
}
.video-follow-btn:hover { background: #e85a25; }

/* ================= Banner card ================= */
.banner-card { display: block; aspect-ratio: 16/9; background: #F6F5F1; border-radius: 16px; overflow: hidden; border: 1px solid #E4E1D8; }
.banner-card img { width: 100%; height: 100%; object-fit: cover; }
.banner-grid { grid-template-columns: repeat(2, 1fr) !important; }
@media (min-width: 640px) { .banner-grid { grid-template-columns: repeat(3, 1fr) !important; } }

/* ================= Blog card / post ================= */
.blog-card { display: block; background: #fff; border: 1px solid #E4E1D8; border-radius: 16px; overflow: hidden; }
.blog-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.blog-card-image { aspect-ratio: 16/9; background: #F6F5F1; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-title { padding: 12px; font-weight: 600; font-size: 14px; }
.blog-post { max-width: 720px; }
.blog-post-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; margin-bottom: 24px; border: 1px solid #E4E1D8; }
.blog-post h1 { font-size: 28px; margin-bottom: 20px; }
.plain-content { line-height: 1.7; color: #0F172A; }

/* Rich text content â€” used both in the admin editor and on published posts */
.rich-content h2 { font-size: 22px; font-weight: 700; margin: 24px 0 10px; }
.rich-content h3 { font-size: 18px; font-weight: 700; margin: 20px 0 8px; }
.rich-content p { margin: 12px 0; line-height: 1.75; }
.rich-content ul { list-style: disc; padding-left: 24px; margin: 12px 0; }
.rich-content ol { list-style: decimal; padding-left: 24px; margin: 12px 0; }
.rich-content blockquote { border-left: 3px solid #FF6B35; padding-left: 16px; margin: 16px 0; color: #6B7280; font-style: italic; }
.rich-content a { color: #0E7C7B; text-decoration: underline; }

/* ================= Rich text editor toolbar (admin) ================= */
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; border: 1px solid #E4E1D8; border-bottom: none; border-radius: 8px 8px 0 0; background: #F6F5F1; padding: 8px; }
.rich-editor-toolbar button {
  background: #fff; border: 1px solid transparent; border-radius: 6px; padding: 6px 10px; font-size: 13px; cursor: pointer;
}
.rich-editor-toolbar button:hover { border-color: #E4E1D8; }
.rich-editor {
  min-height: 260px; border: 1px solid #E4E1D8; border-radius: 0 0 8px 8px; padding: 12px 16px;
  font-size: 14px; font-family: inherit;
}
.rich-editor:focus { outline: none; }
