/* ==========================================================================
   Modern storefront theme
   Only visual polish is applied here: layout hooks and behaviour selectors
   from the default OpenCart theme are preserved.
   ========================================================================== */

:root,
[data-bs-theme=light] {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --surface: #ffffff;
  --page-bg: #f5f7fb;
  --line: #e6e9f2;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 12px 30px -16px rgba(15, 23, 42, .25);
  --shadow-lg: 0 28px 55px -28px rgba(15, 23, 42, .4);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --bs-primary: #4f46e5;
  --bs-primary-rgb: 79, 70, 229;
  --bs-secondary: #0f172a;
  --bs-secondary-rgb: 15, 23, 42;
  --bs-body-bg: #f5f7fb;
  --bs-body-color: #334155;
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-border-color: #e6e9f2;
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 10px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-xl: 18px;
  --bs-link-color: #4f46e5;
  --bs-link-color-rgb: 79, 70, 229;
  --bs-link-hover-color: #4338ca;
  --bs-link-hover-color-rgb: 67, 56, 202;
  --bs-emphasis-color: #0f172a;
  --bs-heading-color: #0f172a;
  --bs-tertiary-bg: #f1f5f9;
  --bs-secondary-bg: #eef2f7;
}

body {
  width: 100%;
  height: 100%;
  background-color: var(--page-bg);
  background-image: radial-gradient(1100px 420px at 5% -8%, #e0e7ff 0%, rgba(224, 231, 255, 0) 70%), radial-gradient(900px 380px at 100% 0%, #fae8ff 0%, rgba(250, 232, 255, 0) 70%);
  background-repeat: no-repeat;
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
}

a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Chrome border line */
button:focus {
  outline: none !important;
}

/* container */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}

#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 320px;
  margin-left: -160px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top bar */
#top {
  background: linear-gradient(90deg, #0b1220 0%, #111c34 55%, #1e1b4b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 0;
  position: relative;
  padding: 0;
  color: rgba(255, 255, 255, .7);
}

#top .container {
  position: relative;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item {
  vertical-align: middle;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > a,
#top .list-inline-item .dropdown > span {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .72);
  line-height: 20px;
  vertical-align: middle;
  padding: 12px 0;
  text-decoration: none;
}

#top .list-inline-item > a:hover,
#top .list-inline-item .dropdown > a:hover,
#top .list-inline-item .dropdown > span:hover {
  color: #fff;
}

#top .list-inline-item .dropdown > span {
  cursor: pointer;
}

#top .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  margin-top: 8px;
}

#top .dropdown-item {
  border-radius: 8px;
  font-size: .82rem;
  padding: 7px 12px;
}

#top .dropdown-item:hover,
#top .dropdown-item:focus {
  background-color: var(--brand-50);
  color: var(--brand-700);
}

#top form {
  display: inline-block;
  margin: 0;
}

#top .list-inline-item img {
  max-height: 14px;
  vertical-align: -1px;
}

/* header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, .55);
  padding: 10px 0 12px;
  position: relative;
  z-index: 10;
}

header > .container > .row {
  align-items: center;
}

/* logo */
#logo {
  text-align: center;
  margin: 6px 0;
}

#logo img {
  max-width: 200px;
  max-height: 64px;
  width: auto;
}

#logo h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.045em;
}

#logo h1 a {
  background: linear-gradient(135deg, var(--brand-600), #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}

/* search */
#search {
  margin-bottom: 10px;
}

#search form {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#search form:focus-within {
  background: #fff;
  border-color: var(--brand-200);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .1);
}

#search .form-control,
#search .form-control-lg {
  height: 40px;
  background: transparent;
  border: 0;
  box-shadow: none !important;
  font-size: .88rem;
  line-height: 20px;
  padding: 0 10px 0 16px;
}

#search .form-control::placeholder {
  color: #94a3b8;
}

#search .btn,
#search .btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 0;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--brand-600), #7c3aed);
  color: #fff;
  font-size: .95rem;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .7);
}

#search .btn:hover,
#search .btn-lg:hover {
  background: linear-gradient(135deg, var(--brand-700), #6d28d9);
  color: #fff;
  transform: translateY(-1px);
}

/* cart */
#cart {
  margin-bottom: 10px;
}

#cart .dropdown > .btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-600), #7c3aed);
  color: #fff;
  padding: 12px 22px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .85);
}

#cart .dropdown > .btn:hover,
#cart .dropdown > .btn:focus {
  background: linear-gradient(135deg, var(--brand-700), #6d28d9);
  color: #fff;
  transform: translateY(-1px);
}

#cart .img-thumbnail {
  min-width: 100px;
  border-radius: 10px;
}

#cart .dropdown-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  margin-top: 10px;
  min-width: 380px;
}

#cart .dropdown-menu li {
  min-width: 300px;
}

#cart .table {
  --bs-table-bg: transparent;
  margin-bottom: 12px;
}

#cart .table td {
  border-color: var(--line);
  vertical-align: middle;
}

#cart .table a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

#cart .table a:hover {
  color: var(--brand-600);
}

@media (max-width: 768px) {
  #cart .dropdown-menu {
    min-width: 100%;
  }
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}

/* navigation */
#menu {
  background-color: #4338ca;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 52%, #7c3aed 100%);
  background-repeat: no-repeat;
  border: 0;
  min-height: 52px;
  border-radius: 16px;
  padding: 0 1rem;
  margin-bottom: 26px;
  box-shadow: 0 20px 40px -24px rgba(67, 56, 202, .95);
}

#menu .navbar-nav > .nav-item > a {
  display: block;
  color: #fff;
  text-shadow: none;
  padding: 15px 17px;
  margin: 6px 1px;
  border-radius: 10px;
  background-color: transparent;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

#menu .navbar-nav > .nav-item > a:hover,
#menu .navbar-nav > .nav-item > a:focus {
  background-color: rgba(255, 255, 255, .14);
  color: #fff;
}

#menu .navbar-nav > .nav-item > a.show {
  background-color: rgba(255, 255, 255, .18);
}

#menu .navbar-nav > .nav-item > .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid rgba(255, 255, 255, .85);
  border-bottom: 1.5px solid rgba(255, 255, 255, .85);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

#menu .navbar-nav > .nav-item > .dropdown-toggle.show::after {
  transform: rotate(225deg) translateY(-1px);
}

#menu .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  margin-top: 0;
}

#menu .dropdown-menu .dropdown-item {
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .84rem;
}

#menu .dropdown-menu .dropdown-item:hover,
#menu .dropdown-menu .dropdown-item:focus {
  background-color: var(--brand-50);
  color: var(--brand-700);
}

#menu .dropdown-divider {
  border-color: var(--line);
  margin: 8px 0;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

#category {
  float: left;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 48px;
  color: #fff;
  text-shadow: none;
}

#menu .navbar-toggler {
  margin: 10px 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 9px;
}

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: .95em;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}

@media (max-width: 991.98px) {
  #menu {
    padding: 0 .75rem;
  }
  #menu .navbar-nav > .nav-item > a {
    padding: 11px 14px;
    margin: 2px 0;
  }
  #menu .dropdown-menu {
    margin: 4px 0 8px;
    border-radius: 12px;
  }
  #menu .navbar-collapse {
    padding-bottom: 8px;
  }
}

/* buttons */
.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .55rem 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary {
  --bs-btn-bg: var(--brand-600);
  --bs-btn-border-color: var(--brand-600);
  --bs-btn-hover-bg: var(--brand-700);
  --bs-btn-hover-border-color: var(--brand-700);
  --bs-btn-active-bg: var(--brand-700);
  --bs-btn-active-border-color: var(--brand-700);
  background-image: linear-gradient(135deg, var(--brand-600), #7c3aed);
  border: 0;
  box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .8);
}

.btn-primary:hover,
.btn-primary:focus {
  background-image: linear-gradient(135deg, var(--brand-700), #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(79, 70, 229, .9);
}

.btn-secondary {
  --bs-btn-bg: #1e293b;
  --bs-btn-border-color: #1e293b;
  --bs-btn-hover-bg: #0f172a;
  --bs-btn-hover-border-color: #0f172a;
}

.btn-dark {
  --bs-btn-bg: #0f172a;
  --bs-btn-border-color: #0f172a;
  --bs-btn-hover-bg: #1e293b;
  --bs-btn-hover-border-color: #1e293b;
  border-radius: 999px;
}

.btn-light {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #e2e8f0;
  --bs-btn-hover-bg: var(--brand-50);
  --bs-btn-hover-border-color: var(--brand-200);
  --bs-btn-color: var(--ink-soft);
  --bs-btn-hover-color: var(--brand-700);
}

.btn-outline-secondary {
  --bs-btn-color: var(--ink-soft);
  --bs-btn-border-color: #dbe0ec;
  --bs-btn-hover-bg: var(--brand-50);
  --bs-btn-hover-border-color: var(--brand-200);
  --bs-btn-hover-color: var(--brand-700);
}

.btn-lg {
  border-radius: 12px;
}

.btn-sm {
  border-radius: 8px;
}

/* forms */
.form-control,
.form-select {
  border-radius: 10px;
  border-color: #dfe4ee;
  padding: .55rem .85rem;
  color: var(--ink-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.form-check-input:checked {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
}

.form-check-input:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

/* default bootstrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #ef4444;
  font-weight: bold;
}

.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}

.nav-tabs {
  margin-bottom: 15px;
  border-color: var(--line);
}

.nav-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 600;
}

.nav-tabs .nav-link:hover {
  color: var(--brand-600);
  border-bottom-color: var(--brand-200);
}

.nav-tabs .nav-link.active {
  color: var(--brand-700);
  background: transparent;
  border-bottom-color: var(--brand-600);
}

.form-check .form-check-input {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}

/* section headings */
#content > h2,
#content > h3,
#common-home #content h2,
#common-home #content h3 {
  position: relative;
  margin: .5rem 0 1.6rem;
  padding-bottom: .7rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
}

#content > h2::after,
#content > h3::after,
#common-home #content h2::after,
#common-home #content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), #a855f7);
}

/* carousel / hero */
.carousel {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  overflow: hidden;
  background: #0f172a;
}

.carousel-inner {
  border-radius: inherit;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 15px;
  opacity: 0;
  text-shadow: none;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .6);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-next:focus {
  background: #fff;
  color: var(--brand-600);
  opacity: 1;
}

.carousel .carousel-control-prev {
  left: 16px;
  opacity: 0;
}

.carousel .carousel-control-next {
  right: 16px;
  opacity: 0;
}

.carousel:hover .carousel-control-prev,
.carousel:focus-within .carousel-control-prev {
  opacity: 1;
  left: 16px;
}

.carousel:hover .carousel-control-next,
.carousel:focus-within .carousel-control-next {
  opacity: 1;
  right: 16px;
}

@media (hover: none) {
  .carousel .carousel-control-prev,
  .carousel .carousel-control-next {
    opacity: .9;
  }
}

.carousel-indicators {
  bottom: 14px;
  gap: 6px;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 20px;
  height: 5px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  opacity: .5;
  box-shadow: none;
  transition: width .25s ease, opacity .25s ease;
}

.carousel-indicators .active {
  width: 34px;
  opacity: 1;
}

/* footer */
footer {
  border: 0;
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 52px;
  background: radial-gradient(circle at 15% 0%, #1e1b4b 0%, transparent 55%), linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #94a3b8;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin: 2.4rem 0 1.4rem;
}

footer a {
  color: #94a3b8;
  font-size: .85rem;
  text-decoration: none;
}

footer a:hover {
  color: #c7d2fe;
}

footer h5 {
  font-family: var(--bs-body-font-family);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 16px;
}

footer li + li {
  margin-top: 8px;
}

footer p {
  color: #64748b;
  font-size: .8rem;
}

/* breadcrumb */
.breadcrumb {
  margin: 0 0 22px 0;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: #fff;
  box-shadow: var(--shadow-sm);
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: none;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
  color: var(--muted);
}

.breadcrumb > li.breadcrumb-item > a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb > li.breadcrumb-item > a:hover {
  color: var(--brand-600);
}

.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(-45deg);
}

.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

/* product cards */
.product-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.product-thumb:hover,
.product-thumb:focus-within {
  transform: translateY(-6px);
  border-color: #d8ddf0;
  box-shadow: 0 26px 46px -24px rgba(15, 23, 42, .35);
}

.product-thumb .image {
  position: relative;
  padding: 26px 22px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #eef2ff 0%, #f8fafc 68%);
  overflow: hidden;
}

.product-thumb .image a {
  display: block;
}

.product-thumb .image img {
  max-height: 190px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.product-thumb:hover .image img {
  transform: scale(1.06);
}

.product-thumb .image a:hover {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-500), #ef4444);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px -8px rgba(239, 68, 68, .8);
  pointer-events: none;
}

.product-thumb .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-thumb .description {
  padding: 18px 20px 64px;
  margin-bottom: 0;
}

/* Blog cards reuse .product-thumb but have no action bar. */
.product-thumb .content > .description:last-child {
  padding-bottom: 18px;
}

.product-thumb .description h4 {
  margin-bottom: .45rem;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.product-thumb .description h4 a {
  color: var(--ink);
  text-decoration: none;
}

.product-thumb .description h4 a:hover {
  color: var(--brand-600);
}

.product-thumb .description p {
  margin-bottom: .8rem;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-thumb .button {
  display: flex;
  gap: 8px;
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.product-thumb .button button {
  flex: 1 1 0;
  width: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: #f8fafc;
  color: var(--muted);
  line-height: 34px;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.product-thumb .button button + button {
  border-left: 1px solid var(--line);
}

.product-thumb .button button:hover {
  background-color: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-700);
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-1px);
}

.product-thumb .button button:first-child {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  box-shadow: 0 8px 16px -10px rgba(79, 70, 229, .9);
}

.product-thumb .button button:first-child:hover {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
}

.product-thumb .button button:nth-child(2):hover {
  background-color: #fdf2f8;
  border-color: #fbcfe8;
  color: #db2777;
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .product-list .product-thumb .image {
    display: flex;
    flex: 0 0 260px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 0;
  }
  .product-list .product-thumb .content {
    flex: 1 1 auto;
    position: relative;
  }
  .product-list .product-thumb .description {
    padding: 22px 190px 22px 22px;
  }
  .product-list .product-thumb .description h4 {
    -webkit-line-clamp: 1;
    min-height: 0;
  }
  .product-list .product-thumb .button {
    width: auto;
    margin: 0;
    padding: 0;
    bottom: 22px;
    right: 22px;
    border-top: 0;
    background: transparent;
    gap: 8px;
  }
  .product-list .product-thumb .button button {
    width: 42px;
    height: 42px;
    line-height: 40px;
    flex: 0 0 42px;
  }
}

/* rating */
.rating {
  display: flex;
  align-items: center;
  gap: 1px;
}

.rating .fa-stack {
  width: 17px;
  height: 17px;
  line-height: 17px;
}

.rating .fa-star {
  color: #f59e0b;
  font-size: 12px;
}

.rating .fa-star + .fa-star {
  color: #f59e0b;
}

/* prices */
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem;
  color: var(--ink);
}

.price-new {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand-700);
}

.price-old {
  font-size: .88rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-tax {
  display: block;
  width: 100%;
  margin-top: .1rem;
  color: #94a3b8;
  font-size: .7rem;
}

/* blog cards */
.blog-thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}

.blog-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumb h4 {
  font-weight: 700;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
  background: #f8fafc;
}

.blog-thumb .image a:hover {
  opacity: .9;
}

.blog-thumb .description {
  padding: 18px 20px;
}

/* pagination */
.pagination {
  gap: 6px;
}

.pagination .page-link {
  min-width: 38px;
  border: 1px solid var(--line);
  border-radius: 9px !important;
  color: var(--ink-soft);
  text-align: center;
  font-weight: 600;
}

.pagination .page-link:hover {
  background-color: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-700);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--brand-600), #7c3aed);
  border-color: var(--brand-600);
  color: #fff;
}

/* alerts */
.alert {
  border: 0;
  border-radius: var(--radius-md);
}

/* tables */
.table {
  --bs-table-border-color: var(--line);
}

/* cookie notice */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 9999;
  padding: 12px 0;
  color: #e2e8f0;
  background: rgba(15, 23, 42, .97);
  border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -18px 40px -30px rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
}

#cookie p {
  margin-bottom: 10px;
  color: #e2e8f0;
  font-size: .85rem;
}

#cookie div {
  font-size: .85rem;
  color: #fff;
}

#cookie .btn {
  min-width: 130px;
  border-radius: 9px;
}

/* small screens */
@media (max-width: 575.98px) {
  #top {
    text-align: center;
  }
  header {
    padding-bottom: 8px;
  }
  #search {
    margin: 4px 0 10px;
  }
  #cart .dropdown > .btn {
    width: 100%;
  }
  .product-thumb .description {
    padding: 16px 16px 60px;
  }
  .carousel {
    border-radius: 14px;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
}
