/* =====================================================================
   South Meets North — store refresh
   For OpenCart 3.x, default theme. Loads AFTER the theme's stylesheet.css
   and overrides it. Remove the <link> to this file to undo everything.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Jost:wght@400;500&display=swap');

:root {
  --smn-bg: #FAF8F4;
  --smn-band: #F3EFE7;
  --smn-ink: #1F2A2E;
  --smn-body: #2B3438;
  --smn-muted: #5F5A50;
  --smn-line: #DCD5C8;
  --smn-sea: #1E5A63;
  --smn-deep: #1E4A52;
  --smn-tile: #E9E3D7;
  --smn-serif: 'Cormorant Garamond', Georgia, serif;
  --smn-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base ---------- */
body {
  background: var(--smn-bg);
  color: var(--smn-body);
  font-family: var(--smn-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--smn-serif); color: var(--smn-ink); font-weight: 400; }
h1 { font-size: 52px; line-height: 1.05; margin: 10px 0 20px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
a { color: var(--smn-ink); }
a:hover, a:focus { color: var(--smn-sea); text-decoration: none; }
legend { font-family: var(--smn-serif); font-size: 26px; border-bottom-color: var(--smn-line); }
hr { border-top-color: var(--smn-line); }
.container { max-width: 1320px; width: auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 767px) { .container { padding-left: 18px; padding-right: 18px; } }

/* ---------- Top strip (phone / account / wishlist / cart / checkout) ---------- */
#top {
  background: var(--smn-deep);
  border: 0;
  padding: 6px 0;
  margin: 0;
  min-height: 0;
}
#top .btn-link, #top-links li, #top-links a {
  color: #E6EFEF;
  text-shadow: none;
  font-size: 13px;
  letter-spacing: 0.08em;
}
#top-links a:hover, #top .btn-link:hover { color: #FFFFFF; }
#top-links .dropdown-menu a { color: var(--smn-ink); text-shadow: none; }
#top .smn-announce {
  float: left;
  color: #E6EFEF;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 9px;
}
@media (max-width: 991px) { #top .smn-announce { display: none; } }

/* ---------- Header: wordmark, search, cart ---------- */
header {
  background: var(--smn-bg);
  padding: 22px 0 18px;
  margin: 0;
}
#logo { margin: 6px 0 0; }
.smn-wordmark {
  font-family: var(--smn-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--smn-ink);
  white-space: nowrap;
  line-height: 1.3;
}
.smn-wordmark em {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.smn-wordmark:hover { color: var(--smn-sea); }

#search { margin-bottom: 0; }
#search .input-lg {
  height: 46px;
  border-radius: 0;
  border: 1px solid var(--smn-line);
  border-right: 0;
  background: #FFFFFF;
  box-shadow: none;
  font-family: var(--smn-sans);
  font-size: 15px;
}
#search .input-lg:focus { border-color: var(--smn-ink); }
#search .btn-lg {
  height: 46px;
  border-radius: 0;
  background: #FFFFFF;
  border: 1px solid var(--smn-line);
  border-left: 0;
  color: var(--smn-ink);
  text-shadow: none;
  box-shadow: none;
  padding: 0 18px;
}

#cart { margin-bottom: 0; }
#cart > .btn {
  height: 46px;
  border-radius: 0;
  background: var(--smn-ink);
  background-image: none;
  border: 0;
  color: #FAF8F4;
  text-shadow: none;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#cart > .btn:hover, #cart.open > .btn { background: var(--smn-sea); color: #FFFFFF; }
#cart .dropdown-menu { border-radius: 0; border-color: var(--smn-line); }
#cart .dropdown-menu li > div { min-width: 360px; }

@media (max-width: 767px) {
  header .row > div { margin-bottom: 12px; }
  #logo { text-align: center; }
  .smn-wordmark { font-size: 22px; }
}

/* ---------- Main menu ---------- */
:is(#menu, header + .container > nav) {
  background: transparent;
  background-image: none;
  border: 0;
  border-top: 1px solid var(--smn-line);
  border-bottom: 1px solid var(--smn-line);
  border-radius: 0;
  min-height: 0;
  margin-bottom: 28px;
  filter: none;
}
:is(#menu, header + .container > nav) .nav > li > a {
  color: var(--smn-ink);
  text-shadow: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 20px;
  background: transparent;
}
:is(#menu, header + .container > nav) .nav > li > a:hover,
:is(#menu, header + .container > nav) .nav > li.open > a { background: transparent; color: var(--smn-sea); }
:is(#menu, header + .container > nav) .dropdown-menu {
  border-radius: 0;
  border: 1px solid var(--smn-line);
  box-shadow: 0 14px 34px rgba(31, 42, 46, 0.10);
  padding: 8px 0 0;
}
:is(#menu, header + .container > nav) .dropdown-inner a {
  color: var(--smn-ink);
  font-size: 15px;
  padding: 8px 20px;
}
:is(#menu, header + .container > nav) .dropdown-inner li a:hover { background: var(--smn-band); color: var(--smn-sea); }
:is(#menu, header + .container > nav) .see-all {
  border-top: 1px solid var(--smn-line);
  border-radius: 0;
  color: var(--smn-sea);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 20px;
  margin-top: 8px;
}
:is(#menu, header + .container > nav) .see-all:hover { background: var(--smn-band); color: var(--smn-ink); }
:is(#menu, header + .container > nav) #category {
  color: var(--smn-ink);
  text-shadow: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 50px;
}
:is(#menu, header + .container > nav) .btn-navbar {
  background: var(--smn-ink);
  background-image: none;
  border: 0;
  border-radius: 0;
  color: #FFFFFF;
  margin: 8px 0;
  padding: 8px 14px;
}
@media (max-width: 767px) {
  :is(#menu, header + .container > nav) div.dropdown-inner > ul .list-unstyled { display: block; }
  :is(#menu, header + .container > nav) .nav > li > a { padding: 12px 6px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.breadcrumb > li { padding: 0 18px 0 0; text-shadow: none; }
.breadcrumb > li:after { display: none; }
.breadcrumb > li + li:before { content: "/\00a0\00a0"; color: var(--smn-muted); padding: 0; }
.breadcrumb a { color: var(--smn-muted); }
.breadcrumb .fa-home:before { content: "Home"; font-family: var(--smn-sans); }

/* ---------- Buttons & forms ---------- */
.btn {
  border-radius: 0;
  text-shadow: none;
  box-shadow: none;
  font-family: var(--smn-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}
.btn-primary, .btn-primary:focus {
  background: var(--smn-ink);
  background-image: none;
  border: 1px solid var(--smn-ink);
  color: #FAF8F4;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active {
  background: var(--smn-sea);
  border-color: var(--smn-sea);
  color: #FFFFFF;
}
.btn-default {
  background: transparent;
  background-image: none;
  border: 1px solid var(--smn-ink);
  color: var(--smn-ink);
}
.btn-default:hover { background: var(--smn-ink); color: #FAF8F4; }
.btn-lg { padding: 14px 26px; }
.form-control {
  border-radius: 0;
  border-color: var(--smn-line);
  box-shadow: none;
  height: 44px;
}
textarea.form-control { height: auto; }
.form-control:focus { border-color: var(--smn-ink); box-shadow: none; }
.alert { border-radius: 0; }
.panel, .panel-heading, .well { border-radius: 0; box-shadow: none; }
.well { background: var(--smn-band); border-color: var(--smn-line); }
.table-bordered, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td { border-color: var(--smn-line); }

/* ---------- Slideshow (homepage banner) ---------- */
.swiper-viewport {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-bottom: 40px;
}
.swiper-pagination-bullet-active { background: var(--smn-ink); }

/* ---------- Product cards (featured, category, search, related) ---------- */
#content > h3 {
  font-size: 40px;
  margin: 48px 0 24px;
  text-transform: none;
}
.product-thumb {
  border: 0;
  margin-bottom: 40px;
  background: transparent;
  overflow: visible;
}
.product-thumb .image {
  background: var(--smn-band);
  padding: 22px;
  text-align: center;
}
.product-thumb .image a:hover { opacity: 0.92; }
.product-thumb .image img { margin: 0 auto; transition: transform 0.4s ease; }
.product-thumb:hover .image img { transform: scale(1.03); }
.product-thumb .caption {
  padding: 14px 0 0;
  min-height: 0;
}
.product-thumb h4 {
  font-family: var(--smn-serif);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 2px;
}
.product-thumb .caption p:not(.price):not(.rating) { display: none; }
.product-thumb .price {
  color: var(--smn-ink);
  font-size: 15px;
  margin: 0 0 10px;
}
.product-thumb .price-new { color: var(--smn-sea); font-weight: 500; }
.product-thumb .price-tax { display: none; }
.product-thumb .button-group {
  border: 0;
  background: transparent;
  display: flex;
  gap: 8px;
  overflow: visible;
}
.product-thumb .button-group button {
  width: auto;
  flex: 1 1 auto;
  height: 46px;
  background: transparent;
  border: 1px solid var(--smn-ink);
  color: var(--smn-ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.product-thumb .button-group button:hover { background: var(--smn-ink); color: #FAF8F4; }
.product-thumb .button-group button + button {
  flex: 0 0 46px;
  width: 46px;
  border-left: 1px solid var(--smn-ink);
}
.product-thumb .button-group button + button + button { display: none; } /* hide "compare" */
.product-thumb .button-group button .hidden-xs,
.product-thumb .button-group button .hidden-sm,
.product-thumb .button-group button .hidden-md { display: inline !important; }
.product-thumb .button-group button .fa-shopping-cart { display: none; }

/* Category page: sort/limit bar and layout switch */
#product-category h2, #product-search h2 { display: none; }
#list-view, #grid-view, #compare-total { border-radius: 0; }
#input-sort, #input-limit { height: 40px; }
.product-list .product-thumb .image { float: left; padding: 22px; margin-right: 24px; }
@media (min-width: 1200px) { .product-list .product-thumb .caption { margin-left: 260px; } }

/* Left column category list */
#column-left .list-group { border-top: 1px solid var(--smn-line); }
.list-group a {
  border: 0;
  border-bottom: 1px solid var(--smn-line);
  border-radius: 0 !important;
  background: transparent;
  color: var(--smn-ink);
  padding: 13px 4px;
  font-size: 15px;
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
  background: transparent;
  border-color: var(--smn-line);
  color: var(--smn-sea);
  text-shadow: none;
  font-weight: 500;
}

/* ---------- Product page ---------- */
#product-product h1 { font-size: 64px; margin-top: 0; }
#product-product .thumbnails { margin-left: 0; }
#product-product .thumbnails > li { margin-left: 0; margin-right: 14px; }
#product-product .thumbnails > li:first-child { margin: 0 0 14px; width: 100%; }
#product-product .thumbnail {
  border: 0;
  border-radius: 0;
  background: var(--smn-band);
  padding: 22px;
  box-shadow: none;
}
#product-product .image-additional .thumbnail { padding: 6px; }
#product-product .list-unstyled h2 {
  font-family: var(--smn-sans);
  font-size: 26px;
  color: var(--smn-ink);
}
#product-product .list-unstyled li { color: var(--smn-muted); }
#button-cart {
  height: 56px;
  font-size: 14px;
  letter-spacing: 0.18em;
}
#product-product #input-quantity { height: 44px; }

/* The description / photos / videos / sketches tabs — made big and clear */
.nav-tabs {
  border-bottom: 1px solid var(--smn-line);
  margin: 48px 0 32px;
  display: flex;
  flex-wrap: wrap;
}
.nav-tabs > li { float: none; margin-bottom: -1px; }
.nav-tabs > li > a {
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--smn-muted);
  font-family: var(--smn-serif);
  font-size: 26px;
  padding: 14px 26px 14px 0;
  margin-right: 10px;
}
.nav-tabs > li > a:hover { color: var(--smn-ink); }
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: var(--smn-ink);
  border-bottom-color: var(--smn-ink) !important;
}
.tab-content {
  font-family: var(--smn-serif);
  font-size: 21px;
  line-height: 1.65;
  color: var(--smn-body);
  max-width: 820px;
}
.tab-content img { max-width: 100%; height: auto; }
.tab-content iframe { max-width: 100%; }

/* ---------- Footer ---------- */
footer {
  background: var(--smn-ink);
  border-top: 0;
  color: #E6E1D7;
  margin-top: 80px;
  padding: 64px 0 28px;
}
footer h5 {
  font-family: var(--smn-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B9B3A8;
  margin-bottom: 16px;
}
footer a { color: #E6E1D7; font-size: 15px; line-height: 2.1; }
footer a:hover { color: #FFFFFF; }
footer hr { border-top-color: rgba(230, 225, 215, 0.2); border-bottom: 0; margin: 40px 0 22px; }
footer hr + p {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B9B3A8;
}

/* =====================================================================
   Homepage sections (used by the "HTML Content" modules)
   ===================================================================== */
.smn-section { margin: 0 0 72px; }
.smn-eyebrow {
  font-family: var(--smn-sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smn-sea);
  margin: 0 0 12px;
}
.smn-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}
.smn-head h2 { font-size: 48px; margin: 0; }
.smn-link {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--smn-ink);
  padding-bottom: 4px;
}
.smn-btn {
  display: inline-block;
  padding: 16px 30px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--smn-ink);
  color: var(--smn-ink);
}
.smn-btn:hover { background: var(--smn-ink); color: #FAF8F4; }
.smn-btn--dark { background: var(--smn-ink); color: #FAF8F4; }
.smn-btn--dark:hover { background: var(--smn-sea); border-color: var(--smn-sea); color: #FFFFFF; }

/* Hero */
.smn-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
  padding: 24px 0 24px;
}
.smn-hero__text { flex: 1 1 400px; min-width: 0; }
.smn-hero__text h1 { font-size: clamp(46px, 6vw, 78px); line-height: 0.98; margin: 0 0 24px; }
.smn-hero__text p {
  font-family: var(--smn-serif);
  font-size: 23px;
  line-height: 1.5;
  color: #3A4347;
  max-width: 480px;
  margin: 0 0 30px;
}
.smn-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.smn-hero__art { flex: 1 1 480px; min-width: 0; margin: 0; }
.smn-hero__art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(31, 42, 46, 0.18);
}
.smn-hero__art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smn-muted);
}

/* Tile grids (shop by medium, in real homes) */
.smn-band {
  background: var(--smn-band);
  border-top: 1px solid var(--smn-line);
  border-bottom: 1px solid var(--smn-line);
  padding: 64px 0;
  box-shadow: 0 0 0 100vmax var(--smn-band);
  clip-path: inset(0 -100vmax);
}
.smn-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}
.smn-tile { display: flex; flex-direction: column; gap: 12px; }
.smn-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--smn-tile);
  transition: opacity 0.2s;
}
.smn-tile:hover img { opacity: 0.9; }
.smn-tile span {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.smn-tiles--tall img { aspect-ratio: 3 / 4; }
.smn-tiles--tall span {
  font-family: var(--smn-serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: #3A4347;
}

/* Meet the artist */
.smn-artist {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.smn-artist img {
  flex: 1 1 340px;
  min-width: 0;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 75%;
}
.smn-artist__text { flex: 1 1 400px; min-width: 0; }
.smn-artist__text h2 { font-size: 52px; line-height: 1.05; margin: 0 0 22px; }
.smn-artist__text p {
  font-family: var(--smn-serif);
  font-size: 21px;
  line-height: 1.6;
  margin: 0 0 18px;
}

@media (max-width: 767px) {
  h1 { font-size: 40px; }
  .smn-hero, .smn-artist { gap: 32px; }
  .smn-head h2, .smn-artist__text h2 { font-size: 38px; }
  #product-product h1 { font-size: 44px; }
  .nav-tabs > li > a { font-size: 21px; padding-right: 16px; }
}
