
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f6f8;
  color: #222;
}

header {
  background: #b91c1c;
  color: white;
  padding: 25px;
  text-align: center;
}

nav {
  margin-top: 20px;
}

nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1100px;
  margin: 35px auto;
  padding: 20px;
}

section {
  background: white;
  padding: 25px;
  border-radius: 10px;
  margin-top: 25px;
}
/* SOFTLINE INVESTMENTS - OCEAN BLUE THEME */

:root {
  --primary-blue: #1877B9;
  --deep-blue: #17365D;
  --warm-gold: #E9AD52;
  --cream: #FFF9F0;
  --text-color: #263746;
}

body {
  background: var(--cream);
  color: var(--text-color);
}

header {
  background: var(--primary-blue);
  color: white;
}

header h1,
header h2 {
  color: white;
}

h1, h2, h3 {
  color: var(--deep-blue);
}

nav a {
  color: white;
}

nav a:hover {
  color: var(--warm-gold);
}

button {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: var(--deep-blue);
}

section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(23, 54, 93, 0.08);
}

/* PROFESSIONAL HOMEPAGE */

.site-header {
  padding: 0;
}

.topbar {
  max-width: 1200px;
  margin: auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand h1 {
  margin: 0;
  font-size: 25px;
  color: white;
}

.brand p {
  margin: 6px 0 0;
  color: #eaf4ff;
}

.main-nav {
  background: #17365D;
  padding: 16px;
  text-align: center;
}

.main-nav a {
  display: inline-block;
  margin: 5px 12px;
}

.cart-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: linear-gradient(
    120deg,
    #17365D,
    #1877B9
  );
  color: white;
  padding: 75px 25px;
  border-radius: 0;
  box-shadow: none;
}

.hero-content {
  max-width: 1100px;
  margin: auto;
}

.hero h2 {
  color: white;
  font-size: clamp(28px, 4vw, 44px);
  max-width: 750px;
}

.hero p {
  max-width: 600px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  margin: 12px 8px 0 0;
  padding: 13px 22px;
  background: white;
  color: #17365D;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn-gold {
  background: #E9AD52;
  color: #17365D;
}

.product-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.product-card {
  background: #fff;
  padding: 18px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card p {
  color: #465568;
}

.product-card button {
  width: 100%;
}

footer {
  background: #17365D;
  color: white;
  text-align: center;
  padding: 25px;
}

@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 45px 20px;
  }
}

/* SOFTLINE - RESPONSIVE SIZE FIX */

html {
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

/* Header */

.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
}

.brand h1 {
  font-size: 22px;
  line-height: 1.2;
}

.brand p {
  font-size: 13px;
}

/* Navigation */

.main-nav {
  padding: 10px 16px;
}

.main-nav a {
  font-size: 14px;
  margin: 4px 10px;
}

/* Shopping cart */

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  white-space: nowrap;
}

.cart-link svg {
  width: 22px;
  height: 22px;
}

#cartCount {
  background: #E9AD52;
  color: #17365D;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Hero */

.hero {
  padding: 45px 24px;
}

.hero h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}

.hero p {
  font-size: 15px;
}

/* Main content */

main {
  width: 100%;
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 20px;
}

main section {
  padding: 22px;
}

main h2 {
  font-size: 24px;
}

/* Product cards */

.product-grid {
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}

.product-card {
  padding: 15px;
}

.product-card h3 {
  font-size: 17px;
}

.product-card p {
  font-size: 14px;
}

/* Mobile phones */

@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }

  .brand h1 {
    font-size: 20px;
  }

  .main-nav {
    padding: 10px;
  }

  .main-nav a {
    margin: 5px;
    font-size: 13px;
  }

  .hero {
    padding: 35px 18px;
  }

  main {
    padding: 0 12px;
  }

  main section {
    padding: 18px;
  }

  main h2 {
    font-size: 21px;
  }
}

/* SHOPPING CART */

.cart-item {
  background: #ffffff;
  padding: 18px;
  margin-bottom: 15px;
  border: 1px solid #dce5ed;
  border-radius: 10px;
}

.cart-item h3 {
  color: #17365D;
  margin-top: 0;
}

.cart-item button {
  background: #b83c3c;
  padding: 8px 15px;
}

.cart-item button:hover {
  background: #922c2c;
}

#cartTotal {
  color: #1877B9;
  font-weight: bold;
}

/* CHECKOUT PAGE */

.checkout-section {
  max-width: 700px;
  margin: 30px auto;
  padding: 30px;
}

#checkoutForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#checkoutForm label {
  font-weight: bold;
  color: #17365D;
}

#checkoutForm input,
#checkoutForm textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #c8d6e3;
  border-radius: 8px;
  font: inherit;
}

#checkoutForm input:focus,
#checkoutForm textarea:focus {
  outline: 2px solid #1877B9;
}

#checkoutSummary {
  background: #FFF9F0;
  padding: 15px;
  border-radius: 8px;
}

.checkout-btn {
  background: #E9AD52;
  color: #17365D;
}

#checkoutMessage {
  color: #17365D;
  font-weight: bold;
}

/* PRODUCT IMAGES */

.product-card {
  overflow: hidden;
  border-radius: 12px;
}

.product-image-container {
  width: 100%;
  height: 210px;
  background: #f3f5f7;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-details {
  padding: 18px;
}

.product-details h3 {
  margin: 0 0 10px;
  color: #17365d;
}

.product-category {
  color: #1877b9;
  font-size: 14px;
  margin-bottom: 10px;
}

.product-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-price {
  font-size: 20px;
  font-weight: bold;
  color: #17365d;
  margin-bottom: 8px;
}

.product-stock {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: #1877b9;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: #17365d;
}

.add-to-cart-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

/* SHOPPING CART */

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 15px;
  background: #ffffff;
  border: 1px solid #e0e7ee;
  border-radius: 12px;
}

.cart-product-image {
  width: 140px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-product-info {
  flex: 1;
}

.cart-product-info h3 {
  color: #17365d;
  margin: 0 0 10px;
}

.cart-product-info p {
  margin: 8px 0;
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.cart-quantity-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid #1877b9;
  background: #ffffff;
  color: #1877b9;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
}

.cart-quantity-controls button:hover {
  background: #1877b9;
  color: #ffffff;
}

.cart-quantity {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.cart-item-subtotal {
  font-weight: bold;
  color: #17365d;
}

.cart-remove-btn {
  background: #b42318;
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 7px;
  cursor: pointer;
}

.cart-remove-btn:hover {
  background: #8f1c13;
}

.empty-cart {
  text-align: center;
  padding: 30px;
  color: #666;
}

@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
  }

  .cart-product-image {
    width: 100%;
    height: 190px;
  }
}

/* SOFTLINE DASHBOARD BRANDING */

.sidebar-brand {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-brand h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.sidebar-brand p {
  margin: 5px 0;
  color: #e9ad52;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.sidebar-brand span {
  display: block;
  margin-top: 12px;
  color: #d6e7f5;
  font-size: 12px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-eyebrow {
  color: #1877b9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.dashboard-header h1 {
  color: #17365d;
  margin: 10px 0;
}

.dashboard-header-badge {
  background: #fff2d8;
  color: #17365d;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-quick-actions {
  margin-top: 35px;
}

.dashboard-quick-actions h2 {
  color: #17365d;
  margin-bottom: 20px;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quick-action-card {
  display: block;
  background: #ffffff;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(23,54,93,0.1);
}

.quick-action-card h3 {
  color: #1877b9;
  margin: 0 0 10px;
}

.quick-action-card p {
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-action-grid {
    grid-template-columns: 1fr;
  }
}


/* SOFTLINE INVESTMENTS CONTACT SECTION */

.contact-section {
  background: #f4f8fc;
  padding: 50px 20px;
  text-align: center;
}

.contact-section h2 {
  color: #2463a6;
  margin-bottom: 15px;
}

.contact-section > p {
  max-width: 650px;
  margin: 0 auto 25px;
  line-height: 1.7;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-align: left;
}

.contact-container h3 {
  color: #2463a6;
  margin-bottom: 20px;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-container label {
  font-weight: 600;
}

.contact-container input,
.contact-container select,
.contact-container textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font: inherit;
  box-sizing: border-box;
}

.contact-container textarea {
  resize: vertical;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: #128c4a;
}

#contactStatus {
  margin-top: 10px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .contact-container {
    padding: 20px;
  }
}

.contact-compact {
  padding: 25px 15px;
  text-align: center;
  background: #f4f8fc;
}

.contact-compact h2 {
  margin: 0 0 8px;
  color: #2463a6;
}

.contact-compact p {
  margin: 0 auto 15px;
  max-width: 500px;
}

.contact-compact .whatsapp-btn {
  display: inline-block;
  width: auto;
  padding: 10px 20px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

/* ==========================================
   SOFTLINE INVESTMENTS
   MOBILE RESPONSIVE IMPROVEMENTS
   ========================================== */

html {
  width: 100%;
  scroll-behavior: smooth;
}

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

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
}

img, svg {
  max-width: 100%;
}

/* HEADER */

.site-header {
  width: 100%;
}

.topbar {
  width: 100%;
  max-width: 1200px;
}

.brand {
  min-width: 0;
}

.brand h1 {
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.main-nav a {
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.1);
}

/* HERO */

.hero-content {
  width: 100%;
}

.hero h2,
.hero p {
  overflow-wrap: break-word;
}

/* PRODUCTS */

.product-grid {
  width: 100%;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.product-card {
  min-width: 0;
}

.product-image-container {
  width: 100%;
}

.product-image {
  max-width: 100%;
}

/* CART */

.cart-product-info {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cart-quantity-controls {
  flex-wrap: wrap;
}

/* CHECKOUT */

.checkout-section {
  width: 100%;
  max-width: 700px;
}

#checkoutForm input,
#checkoutForm select,
#checkoutForm textarea {
  max-width: 100%;
}

/* MOBILE PHONES */

@media (max-width: 600px) {

  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 15px 12px;
  }

  .brand h1 {
    font-size: 20px;
    line-height: 1.25;
  }

  .brand p {
    font-size: 12px;
  }

  .cart-link {
    padding: 9px 14px;
    font-size: 14px;
  }

  .main-nav {
    padding: 10px 8px;
    gap: 5px;
  }

  .main-nav a {
    font-size: 12px;
    padding: 9px 8px;
  }

  .hero {
    padding: 35px 16px;
  }

  .hero h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.25;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero .btn {
    margin: 8px 5px 0 0;
    padding: 11px 14px;
    font-size: 13px;
  }

  main {
    width: 100%;
    margin: 15px auto;
    padding: 0 10px;
  }

  main section {
    padding: 16px 12px;
    margin-top: 15px;
  }

  main h2 {
    font-size: 21px;
  }

  /* One product per row on phones */
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .product-card {
    padding: 12px;
  }

  .product-image-container {
    height: 200px;
  }

  .product-details {
    padding: 12px 4px;
  }

  .product-card h3 {
    font-size: 17px;
  }

  .product-price {
    font-size: 19px;
  }

  .add-to-cart-btn {
    min-height: 44px;
  }

  /* Shopping cart */
  .cart-item {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .cart-product-image {
    width: 100%;
    height: 190px;
  }

  .cart-product-info {
    width: 100%;
  }

  /* Checkout */
  .checkout-section {
    margin: 15px auto;
    padding: 18px 12px;
  }

  #checkoutForm input,
  #checkoutForm textarea {
    font-size: 16px;
  }

  #submitOrderBtn {
    width: 100%;
    min-height: 44px;
  }

  /* Contact section */
  .contact-compact {
    padding: 22px 12px;
  }

  .contact-compact .whatsapp-btn {
    max-width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }

  footer {
    padding: 18px 12px;
    font-size: 13px;
  }
}

/* VERY SMALL PHONES */

@media (max-width: 360px) {

  .brand h1 {
    font-size: 18px;
  }

  .main-nav a {
    font-size: 11px;
    padding: 8px 6px;
  }

  .hero h2 {
    font-size: 23px;
  }

  .hero .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
  }
}

/* =====================================
   SOFTLINE INVESTMENTS
   CONTACT US - COMPACT WHITE DESIGN
===================================== */

/* MAIN CONTACT SECTION */

.contact-compact {
  padding: 45px 20px 55px;
  background: #ffffff;
}

.contact-container {
  max-width: 950px;
  margin: 0 auto;
  display: block;
}

/* CONTACT HEADING */

.contact-heading {
  text-align: center;
  margin: 0 0 55px;
}

.contact-heading h2 {
  color: #1456a8;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
}

.contact-heading p {
  color: #59697a;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 600px;
}

/* THREE CONTACT CARDS */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  background: transparent;
  padding: 0;
}

.contact-info-card {
  position: relative;
  min-width: 0;
  min-height: 135px;
  padding: 42px 14px 20px;
  background: #ffffff;
  border: 1px solid #e2eaf2;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 16px rgba(23, 54, 93, 0.08);
  box-sizing: border-box;
}

/* DEFAULT CIRCULAR ICON - WARM BLUE */

.contact-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);

  width: 50px;
  height: 50px;
  border-radius: 50%;

  background: #1877b9;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* PHONE ICON - GREEN */

.contact-info-card:first-child .contact-icon {
  background: #198754;
}

/* EMAIL ICON - WARM BLUE */

.contact-info-card:nth-child(2) .contact-icon {
  background: #1877b9;
}

/* WHATSAPP ICON - GREEN */

.contact-info-card:nth-child(3) .contact-icon {
  background: #25d366;
}

/* ICON SIZE */

.contact-icon svg {
  width: 23px;
  height: 23px;
}

/* CARD HEADINGS */

.contact-info-card h3 {
  color: #262f3a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

/* CONTACT DESCRIPTION */

.contact-info-card p {
  color: #59697a;
  font-size: 12px;
  line-height: 1.5;
  margin: 4px 0;
}

/* PHONE AND EMAIL LINKS */

.contact-info-card a {
  display: inline-block;
  color: #1877b9;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  margin-top: 5px;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* PHONE NUMBER LINK - GREEN */

.contact-info-card:first-child a {
  color: #198754;
}

/* WHATSAPP BUTTON - GREEN */

.contact-info-card .whatsapp-btn {
  display: inline-block;
  background: #198754;
  color: #ffffff;

  padding: 8px 15px;
  border-radius: 7px;

  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-info-card .whatsapp-btn:hover {
  background: #146c43;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* HIDDEN FIREBASE FIELDS */

#businessContactDetails[hidden],
#businessPhoneCard[hidden],
#businessEmailCard[hidden] {
  display: none !important;
}

/* TABLET */

@media (max-width: 768px) {

  .contact-compact {
    padding: 40px 16px 50px;
  }

  .contact-container {
    max-width: 650px;
  }

  .contact-info-grid {
    gap: 10px;
  }

  .contact-info-card {
    padding: 42px 10px 18px;
  }

}

/* MOBILE */

@media (max-width: 600px) {

  .contact-compact {
    padding: 40px 15px 45px;
    background: #ffffff;
  }

  .contact-heading {
    margin-bottom: 50px;
  }

  .contact-heading h2 {
    font-size: 26px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-info-card {
    min-height: 120px;
    padding: 38px 15px 18px;
  }

}

/* =====================================
   SOFTLINE INVESTMENTS
   CHECKOUT FINAL STYLING
===================================== */

body:has(.checkout-container) {
  background: #f5f8fc;
}

.checkout-page-heading {
  margin-bottom: 28px;
}

.checkout-page-heading h1 {
  margin: 0 0 8px;
  color: #17365d;
  font-size: clamp(25px, 3vw, 32px);
}

.checkout-page-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.checkout-back-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.checkout-back-link:hover {
  text-decoration: underline;
}

/* SECTION HEADINGS */

.checkout-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-card-heading h2 {
  border: 0;
  padding: 0;
  margin: 0 0 4px;
  font-size: 18px;
  color: #17365d;
}

.checkout-card-heading p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.checkout-step-number {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e7f2fb;
  color: #1877b9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

/* CUSTOMER FORM GRID */

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checkout-field {
  min-width: 0;
}

.checkout-field-full {
  grid-column: 1 / -1;
}

.checkout-field label {
  margin-bottom: 7px;
}

.checkout-field textarea {
  display: block;
}

.required {
  color: #dc3545;
}

/* PAYMENT OPTIONS */

.payment-section {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

.payment-option-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eaf3fc;
  color: #1877b9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-option-icon svg {
  width: 21px;
  height: 21px;
}

.payment-option-content {
  flex: 1;
  min-width: 0;
}

.payment-option:has(input:disabled)
.payment-option-icon {
  background: #eef2f7;
  color: #94a3b8;
}

/* ORDER SUMMARY */

.checkout-order-card {
  position: sticky;
  top: 20px;
}

.checkout-total {
  border-top: 2px solid #e2e8f0;
  margin-top: 16px;
}

.checkout-total strong {
  color: #17365d;
  font-size: 23px;
}

.checkout-total-note {
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0;
}

.checkout-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.checkout-security-note svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #198754;
}

/* MOBILE */

@media (max-width: 600px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field-full {
    grid-column: auto;
  }

  .checkout-card-heading h2 {
    font-size: 17px;
  }

  .checkout-order-card {
    position: static;
  }

  .payment-option {
    flex-wrap: wrap;
  }

  .payment-option-content {
    flex-basis: 55%;
  }
}

/* ==========================================
   SOFTLINE INVESTMENTS
   COMPACT CHECKOUT DESIGN V2
========================================== */

.softline-checkout-page {
  background: #f5f7fa;
  color: #26374a;
  min-height: 100vh;
  margin: 0;
}

/* HEADER */

.softline-checkout-page .checkout-header {
  background: #17365d;
  color: #ffffff;
  padding: 17px 22px;
}

.softline-checkout-page .checkout-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.softline-checkout-page .checkout-brand h1 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.softline-checkout-page .checkout-brand p {
  margin: 3px 0 0;
  color: #d6e5f3;
  font-size: 12px;
}

.softline-checkout-page .checkout-back-link {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.softline-checkout-page .checkout-back-link:hover {
  text-decoration: underline;
}

/* MAIN CONTENT */

.softline-checkout-page .compact-checkout {
  width: min(100% - 32px, 760px);
  margin: 32px auto 55px;
  padding: 0;
  box-sizing: border-box;
}

.softline-checkout-page .compact-checkout-heading {
  margin-bottom: 23px;
}

.softline-checkout-page .compact-checkout-heading h1 {
  margin: 0 0 7px;
  color: #17365d;
  font-size: 27px;
  line-height: 1.3;
}

.softline-checkout-page .compact-checkout-heading p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

/* CARDS */

.softline-checkout-page .compact-checkout-card {
  background: #ffffff;
  border: 1px solid #e4eaf1;
  border-radius: 12px;
  padding: 23px;
  margin-bottom: 17px;
  box-shadow: 0 3px 12px rgba(23, 54, 93, 0.045);
}

.softline-checkout-page .compact-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.softline-checkout-page .compact-step {
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3fc;
  color: #1877b9;
  font-size: 14px;
  font-weight: 800;
}

.softline-checkout-page .compact-card-title h2 {
  margin: 0 0 3px;
  padding: 0;
  border: 0;
  color: #17365d;
  font-size: 17px;
  line-height: 1.35;
}

.softline-checkout-page .compact-card-title p {
  margin: 0;
  color: #718096;
  font-size: 12px;
  line-height: 1.5;
}

/* CUSTOMER FORM */

.softline-checkout-page .compact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 17px;
}

.softline-checkout-page .compact-field {
  min-width: 0;
}

.softline-checkout-page .compact-field-full {
  grid-column: 1 / -1;
}

.softline-checkout-page .compact-field label {
  display: block;
  margin: 0 0 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 650;
}

.softline-checkout-page .compact-field input,
.softline-checkout-page .compact-field textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d6dfe9;
  border-radius: 7px;
  background: #ffffff;
  color: #17365d;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: none;
}

.softline-checkout-page .compact-field textarea {
  min-height: 65px;
  resize: vertical;
}

.softline-checkout-page .compact-field input:focus,
.softline-checkout-page .compact-field textarea:focus {
  outline: none;
  border-color: #1877b9;
  box-shadow: 0 0 0 3px rgba(24, 119, 185, 0.10);
}

.softline-checkout-page .compact-field input::placeholder,
.softline-checkout-page .compact-field textarea::placeholder {
  color: #9aa7b7;
}

.softline-checkout-page .required {
  color: #dc3545;
}

/* PAYMENT SECTION */

.softline-checkout-page .payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.softline-checkout-page .compact-payment-option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
}

.softline-checkout-page .compact-payment-option input[type="radio"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 0;
  padding: 0;
  accent-color: #1877b9;
  flex-shrink: 0;
}

.softline-checkout-page .pay-later-option {
  background: #f0f7ff;
  border: 2px solid #1877b9;
  padding: 13px;
}

.softline-checkout-page .compact-payment-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  background: #e8f2fb;
  color: #1877b9;
  border-radius: 8px;
}

.softline-checkout-page .compact-payment-icon svg {
  width: 19px;
  height: 19px;
}

.softline-checkout-page .compact-payment-text {
  flex: 1;
  min-width: 0;
}

.softline-checkout-page .compact-payment-text strong {
  display: block;
  color: #17365d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.softline-checkout-page .compact-payment-text small {
  display: block;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 3px;
}

.softline-checkout-page .compact-payment-badge {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.softline-checkout-page .compact-payment-badge.available {
  color: #198754;
  background: #e8f7ee;
}

.softline-checkout-page .compact-payment-badge.unavailable {
  color: #64748b;
  background: #e9edf2;
  margin-top: 6px;
}

/* SECONDARY PAYMENT OPTIONS */

.softline-checkout-page .compact-other-payments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.softline-checkout-page .compact-other-payments
.compact-payment-option {
  background: #f8fafc;
  opacity: 0.78;
  cursor: not-allowed;
  align-items: flex-start;
}

.softline-checkout-page .compact-other-payments
.compact-payment-icon {
  background: #e9edf2;
  color: #718096;
}

.softline-checkout-page .compact-other-payments
.compact-payment-text strong {
  color: #475569;
}

.softline-checkout-page .compact-other-payments
input[type="radio"] {
  cursor: not-allowed;
}

/* PAYMENT INFORMATION */

.softline-checkout-page #paymentInformation {
  margin-top: 15px;
  padding: 11px 13px;
  border: 0;
  border-left: 3px solid #1877b9;
  border-radius: 6px;
  background: #eef6fd;
  color: #34536f;
  font-size: 12px;
  line-height: 1.6;
}

/* ORDER SUMMARY */

.softline-checkout-page #checkoutSummary {
  padding: 0;
}

.softline-checkout-page #checkoutSummary p {
  display: block;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f5;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.softline-checkout-page .compact-checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
  color: #17365d;
  font-size: 14px;
  font-weight: 600;
}

.softline-checkout-page .compact-checkout-total strong {
  color: #17365d;
  font-size: 22px;
  font-weight: 800;
}

.softline-checkout-page .compact-total-note {
  color: #718096;
  font-size: 11px;
  line-height: 1.6;
  margin: 9px 0 0;
}

/* SUBMIT BUTTON */

.softline-checkout-page #submitOrderBtn {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 21px;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #1877b9;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.softline-checkout-page #submitOrderBtn:hover:not(:disabled) {
  background: #17365d;
}

.softline-checkout-page #submitOrderBtn:disabled {
  background: #94a3b8;
  color: #ffffff;
  cursor: not-allowed;
}

/* ORDER MESSAGES */

.softline-checkout-page #checkoutMessage {
  margin: 13px 0 0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}

/* SECURITY NOTE */

.softline-checkout-page .compact-checkout-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #64748b;
  font-size: 11px;
  text-align: center;
}

.softline-checkout-page .compact-checkout-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #198754;
}

/* FOOTER */

.softline-checkout-page .compact-checkout-footer {
  padding: 18px;
  background: transparent;
  color: #64748b;
  text-align: center;
}

.softline-checkout-page .compact-checkout-footer p {
  margin: 0;
  font-size: 12px;
}

/* MOBILE */

@media (max-width: 600px) {

  .softline-checkout-page .checkout-header {
    padding: 15px;
  }

  .softline-checkout-page .checkout-brand h1 {
    font-size: 13px;
  }

  .softline-checkout-page .checkout-back-link {
    font-size: 11px;
  }

  .softline-checkout-page .compact-checkout {
    width: calc(100% - 24px);
    margin: 23px auto 35px;
  }

  .softline-checkout-page .compact-checkout-heading h1 {
    font-size: 23px;
  }

  .softline-checkout-page .compact-checkout-card {
    padding: 17px 15px;
    margin-bottom: 13px;
  }

  .softline-checkout-page .compact-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .softline-checkout-page .compact-field-full {
    grid-column: auto;
  }

  .softline-checkout-page .compact-other-payments {
    grid-template-columns: 1fr;
  }

  .softline-checkout-page .pay-later-option {
    flex-wrap: wrap;
  }

  .softline-checkout-page .compact-payment-badge.available {
    margin-left: 28px;
  }

  .softline-checkout-page .compact-checkout-total strong {
    font-size: 20px;
  }
}

/* ==========================================
   SOFTLINE INVESTMENTS
   PAYMENT SECTION LAYOUT FIX
========================================== */

/* Reset conflicting older payment styles */

.softline-checkout-page .payment-options {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pay later card */

.softline-checkout-page .compact-payment-option {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 75px !important;
  height: auto !important;

  padding: 14px !important;
  margin: 0 !important;

  box-sizing: border-box !important;
  position: relative !important;

  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
}

/* Selected payment */

.softline-checkout-page .pay-later-option {
  background: #f0f7ff !important;
  border: 2px solid #1877b9 !important;
}

/* Radio button */

.softline-checkout-page
.compact-payment-option input[type="radio"] {
  display: block !important;
  position: static !important;

  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;

  margin: 0 !important;
  padding: 0 !important;

  flex: 0 0 18px !important;
  accent-color: #1877b9;
}

/* Payment icon */

.softline-checkout-page .compact-payment-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;

  flex: 0 0 38px !important;
  position: static !important;

  background: #e8f2fb;
  color: #1877b9;
  border-radius: 8px;
}

.softline-checkout-page .compact-payment-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}

/* Payment text - prevent narrow columns */

.softline-checkout-page .compact-payment-text {
  display: block !important;

  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  position: static !important;
  margin: 0 !important;
  padding: 0 !important;

  text-align: left !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.softline-checkout-page .compact-payment-text strong {
  display: block !important;
  width: auto !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #17365d;
}

.softline-checkout-page .compact-payment-text small {
  display: block !important;
  width: auto !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  margin-top: 4px !important;
  color: #64748b;
}

/* Available badge */

.softline-checkout-page
.compact-payment-badge.available {
  display: inline-block !important;
  position: static !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Mobile Money and Bank Card */

.softline-checkout-page .compact-other-payments {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.softline-checkout-page
.compact-other-payments .compact-payment-option {
  min-width: 0 !important;
  width: 100% !important;
  opacity: 0.75;
  background: #f8fafc;
}

/* Mobile layout */

@media (max-width: 600px) {
  .softline-checkout-page .compact-other-payments {
    grid-template-columns: 1fr !important;
  }

  .softline-checkout-page .compact-payment-option {
    gap: 9px !important;
    padding: 12px !important;
  }

  .softline-checkout-page
  .compact-payment-badge.available {
    font-size: 9px;
  }
}

/* =====================================
   SOFTLINE INVESTMENTS
   ADD TO CART POPUP
===================================== */

.cart-toast {
  position: fixed;
  top: 85px;
  right: 20px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;

  width: min(350px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 15px;

  background: #ffffff;
  border: 1px solid #d9e8de;
  border-left: 4px solid #198754;
  border-radius: 12px;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  pointer-events: none;
}

.cart-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.cart-toast-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #e7f7ed;
  color: #198754;

  font-size: 21px;
  font-weight: 800;
}

.cart-toast-content {
  flex: 1;
  min-width: 0;
}

.cart-toast-content strong {
  display: block;
  color: #17365d;
  font-size: 14px;
  margin-bottom: 3px;
}

.cart-toast-content p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.cart-toast-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 23px;
  cursor: pointer;
  padding: 2px;
}

.cart-toast-close:hover {
  color: #17365d;
}

@media (max-width: 600px) {
  .cart-toast {
    top: 15px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-toast {
    transition: none;
  }
}
.site-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .site-logo {
    width: 115px;
  }
}

/* =====================================
   ABOUT US - SOFTLINE INVESTMENTS LTD
===================================== */

.about-section {
  background: #f5f8fc;
  padding: 65px 20px;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
}

.about-heading {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.about-label {
  display: block;
  color: #c98930;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.about-heading h2 {
  color: #174a7e;
  margin-bottom: 20px;
}

.about-intro {
  color: #46566a;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}

.about-motto {
  margin-top: 35px;
  padding: 35px 20px;
  text-align: center;
  background: #174a7e;
  color: #ffffff;
  border-radius: 12px;
}

.about-motto span {
  display: block;
  color: #f2bb66;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-motto h3 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 12px;
}

.about-motto p {
  color: #e4eef8;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-section {
    padding: 45px 16px;
  }

  .about-motto {
    padding: 28px 16px;
  }

  .about-motto h3 {
    font-size: 24px;
  }
}
