/* OfficePlus — demo styles derived from Figma Copy CSS export
   Tokens: #194681, #FFD23A, #EA6F21, #599E28, #F6F6F6, #FFFFFF, Inter */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #ececec;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #ececec;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell {
  width: 100%;
  overflow-x: auto;
  padding: 24px 0 48px;
}

/* homepage frame: 1440 × ~4214 from Figma */
.homepage {
  position: relative;
  width: 1440px;
  min-height: 4214px;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
}

/* ========== HEADER ========== */
.header {
  position: relative;
  width: 1440px;
  background: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 20;
}

.topbar {
  height: 40px;
  background: #194681;
  display: flex;
  align-items: center;
}

.topbar-inner {
  width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topbar-right {
  gap: 50px;
}

.topbar-text,
.topbar-link,
.topbar-phone,
.lang-item {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #f6f6f6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-link:hover,
.topbar-phone:hover {
  color: #ffd23a;
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-item.is-active {
  text-decoration: underline;
}

.topbar-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  position: relative;
}

.topbar-icon.clock {
  background: radial-gradient(circle at 50% 50%, #ffd23a 0 35%, transparent 36%),
    conic-gradient(from 0deg, #ffd23a 0 70%, rgba(255, 210, 58, 0.35) 70% 100%);
  border: 1.5px solid #ffd23a;
  border-radius: 50%;
  opacity: 0.95;
}

.topbar-icon.phone {
  background: #f6f6f6;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.5 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .7-.3 1L6.6 10.8z'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.5 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .7-.3 1L6.6 10.8z'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
}

.navbar {
  width: 1260px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 0 20px;
}

.logo {
  flex: none;
  width: 227px;
}

.logo img {
  width: 227px;
  height: auto;
  object-fit: contain;
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.search-field {
  position: relative;
  flex: 1;
  height: 50px;
  background: #f6f6f6;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 20px;
  min-width: 0;
}

.search-placeholder {
  flex: 1;
  font-weight: 400;
  font-size: 20px;
  color: #808080;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
}

.catalog-btn {
  flex: none;
  height: 50px;
  min-width: 145px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #194681;
  color: #ffffff;
  font-weight: 700;
  font-size: 15.38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(25, 70, 129, 0.25);
}

.catalog-btn:hover {
  filter: brightness(1.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* ========== MAIN ========== */
.main {
  width: 1440px;
  padding: 32px 0 0;
  background: #ffffff;
}

.section {
  width: 1260px;
  margin: 0 auto 48px;
}

/* Hero */
.hero {
  width: 1260px;
  margin: 0 auto 40px;
  display: flex;
  align-items: flex-start;
  gap: 86px;
  padding: 20px 0 10px;
}

.hero-slider {
  width: 826px;
  flex: none;
}

.hero-slide-visual {
  position: relative;
  width: 826px;
  height: 538px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #13437c 0%, #194681 42%, #0197d7 100%);
  box-shadow: 0 8px 28px rgba(25, 70, 129, 0.22);
}

.hero-slide-content {
  position: absolute;
  z-index: 2;
  left: 48px;
  top: 56px;
  max-width: 420px;
  color: #ffffff;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd23a;
}

.hero-title {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-slide-art {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 210, 58, 0.45), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(1, 151, 215, 0.5), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  background: #ea6f21;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(234, 111, 33, 0.35);
}

.btn-orange:hover {
  filter: brightness(1.06);
}

.slider-controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.slider-arrow,
.nav-pill {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #58ba13;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(88, 186, 19, 0.35);
}

.slider-arrow:hover,
.nav-pill:hover {
  filter: brightness(1.08);
}

.slider-count,
.row-count {
  font-size: 14px;
  font-weight: 600;
  color: #676767;
  min-width: 48px;
  text-align: center;
}

.slider-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d1;
}

.dot.is-active {
  background: #194681;
  width: 22px;
  border-radius: 8px;
}

/* Deal of the day card */
.deal-card {
  width: 348px;
  min-height: 538px;
  flex: none;
  background: #ffffff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deal-label {
  font-weight: 700;
  font-size: 21.5px;
  line-height: 22px;
  color: #599e28;
}

.deal-timer {
  display: flex;
  gap: 4px;
  font-weight: 700;
  font-size: 13.3px;
  line-height: 25px;
  text-transform: uppercase;
  background: linear-gradient(38.91deg, #ffb800 0%, #ea6f21 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.deal-stock-text {
  font-size: 13px;
  font-weight: 600;
  color: #676767;
}

.deal-stock-bar {
  margin-top: 6px;
  height: 6px;
  border-radius: 99px;
  background: #ececec;
  overflow: hidden;
}

.deal-stock-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #58ba13, #ffb800);
  border-radius: inherit;
}

.deal-image {
  flex: 1;
  min-height: 220px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6f6f6 0%, #ececec 100%);
  display: grid;
  place-items: center;
}

.deal-image-placeholder {
  font-size: 72px;
  filter: grayscale(0.1);
}

.deal-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.deal-price {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
}

.btn-buy {
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #ea6f21;
  color: #ffffff;
  font-weight: 800;
  font-size: 16.9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-buy:hover {
  filter: brightness(1.06);
}

/* Categories */
.page-h1 {
  margin: 0 0 36px;
  width: 100%;
  font-weight: 700;
  font-size: 38.6px;
  line-height: 48px;
  color: #1a1a1a;
}

.categories {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.category-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  background: #f6f6f6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover .category-img {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.category-img.c1 {
  background: linear-gradient(145deg, #fff7e8, #ffd23a 80%);
}
.category-img.c2 {
  background: linear-gradient(145deg, #e8f1ff, #0197d7 85%);
}
.category-img.c3 {
  background: linear-gradient(145deg, #eefce8, #58ba13 85%);
}
.category-img.c4 {
  background: linear-gradient(145deg, #f3e8ff, #7c4dff 85%);
}
.category-img.c5 {
  background: linear-gradient(145deg, #ffe8f0, #ea6f21 85%);
}
.category-img.c6 {
  background: linear-gradient(145deg, #e8fffb, #1e9781 85%);
}
.category-img.c7 {
  background: linear-gradient(145deg, #f0f0f0, #194681 85%);
}

.category-title {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #232323;
}

.row-nav {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Products */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head.compact {
  align-items: center;
  margin-bottom: 20px;
}

.section-tag {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #ea6f21;
}

.section-title {
  margin: 0 0 8px;
  font-size: 34.6px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
}

.section-title.brands-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 43px;
}

.section-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #676767;
  max-width: 520px;
}

.see-all {
  flex: none;
  font-size: 11.6px;
  font-weight: 700;
  color: #194681;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  margin-top: 8px;
}

.see-all:hover {
  color: #ea6f21;
}

.products-export {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
}

.products-export img {
  width: 100%;
  height: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #d1d1d1;
}

.badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #58ba13;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #ea6f21;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.product-img {
  height: 160px;
  border-radius: 10px;
  background: #f6f6f6 center/cover no-repeat;
  margin-bottom: 4px;
}

.product-img.p-markers {
  background-image: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);
  background-size: cover;
  position: relative;
}

.product-img.p-markers::after {
  content: "✎";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  opacity: 0.35;
}

.product-img.p-laminator {
  background: linear-gradient(180deg, #fafafa, #e8e8e8);
  position: relative;
}

.product-img.p-laminator::after {
  content: "🖨";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  opacity: 0.45;
}

.stock {
  font-size: 14px;
  font-weight: 400;
}

.stock.in {
  color: #599e28;
}

.stock.order {
  color: #ea6f21;
}

.product-name {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a1a;
  min-height: 42px;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.old {
  font-size: 10px;
  font-weight: 700;
  color: #808080;
  text-decoration: line-through;
}

.disc {
  font-size: 10px;
  font-weight: 700;
  color: #b00000;
}

.btn-cart,
.btn-buy-sm {
  margin-top: auto;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #ea6f21;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.btn-cart {
  background: #f6f6f6;
  color: #194681;
  border: 1px solid #d1d1d1;
  font-weight: 700;
}

.btn-buy-sm:hover,
.btn-cart:hover {
  filter: brightness(1.05);
}

/* Brands */
.brands {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.brand {
  height: 72px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #194681;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.brand:hover {
  border-color: #194681;
  transform: translateY(-2px);
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab {
  height: 40px;
  padding: 0 18px;
  border: 1px solid #d1d1d1;
  border-radius: 999px;
  background: #ffffff;
  color: #232323;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tab.is-active {
  background: #194681;
  border-color: #194681;
  color: #ffffff;
}

.tab:hover:not(.is-active) {
  border-color: #194681;
  color: #194681;
}

/* About / Contact exports */
.about-section,
.contact-section {
  display: flex;
  justify-content: center;
}

.about-export {
  width: 100%;
  max-width: 1260px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.contact-export {
  width: min(822px, 100%);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* ========== FOOTER ========== */
.footer {
  width: 1440px;
  margin-top: 20px;
}

.newsletter {
  width: 1440px;
  min-height: 186px;
  background: linear-gradient(90deg, #355c1a 0%, #58ba13 55%, #7ed321 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-inner {
  width: 1260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 0;
}

.newsletter-title {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
}

.newsletter-text {
  margin: 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  min-width: 480px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.newsletter-input {
  flex: 1;
  border: 0;
  outline: none;
  height: 44px;
  font-size: 16px;
  color: #194681;
  background: transparent;
}

.newsletter-input::placeholder {
  color: #767676;
}

.newsletter-btn {
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: #ea6f21;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter-btn:hover {
  filter: brightness(1.06);
}

.footer-main {
  background: #194681;
  color: #ffffff;
  padding: 48px 0 0;
}

.footer-grid {
  width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
  /* logo is colorful on white; light plate for contrast on blue */
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 12px;
}

.footer-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 320px;
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #ffd23a;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
}

.footer-links a:hover {
  color: #ffd23a;
}

.footer-links .muted {
  font-size: 13px;
  opacity: 0.75;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

.footer-bottom p {
  width: 1260px;
  margin: 0 auto;
  padding: 18px 0 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a {
  color: #ffd23a;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
