/*
 * A Stitching Shop — storefront
 *
 * A recreation of the legacy SunShop theme ("stitchingshop_customnew")
 * so the rebuilt store looks the same to a customer.
 *
 * The measurements, colours and gradients were taken from the original
 * theme's stylesheet and button images:
 *
 *   body        11px arial on #FDFDFD, 998px fixed layout
 *   columns    998px  |  sidebar 219px  |  content 503px
 *   price      #C20710, bold, 14pt
 *   accent     #7DB226 (paging), #3F9CAD (links), #99CCCC (item border)
 *   buttons    dark slate (Add To Cart) and green (More Info) gradients,
 *              sampled from the original 21px button sprites
 *
 * The original theme drew its frames, button caps and separators with
 * small images. Those are used here rather than recreated: they are
 * fetched from the live web host by
 *
 *     php artisan storefront:fetch-theme-images
 *
 * and live on the storefront disk under "theme/", which the reverse
 * proxy serves straight off disk.
 */

:root {
    --ss-page-bg: #fdfdfd;
    --ss-text: #000;
    --ss-muted: #484d4f;
    --ss-teal: #3f9cad;
    --ss-teal-dark: #288a9c;
    --ss-green: #7db226;
    --ss-green-dark: #4f832b;
    --ss-green-light: #b0e48c;
    --ss-price: #c20710;
    --ss-border: #99cccc;
    --ss-panel: #dde8ef;
    --ss-slate: #4e5960;
    --ss-slate-light: #afbac1;
    --ss-width: 998px;
}

body.storefront {
    margin: 0;
    padding: 0;
    color: var(--ss-text);
    background: var(--ss-page-bg) url('/storefront/images/theme/bg-bl30.jpg') repeat;
    font: 11px arial, sans-serif;
}

.storefront a {
    color: var(--ss-teal);
    text-decoration: none;
}

.storefront a:hover {
    text-decoration: underline;
}

.storefront img {
    border: 0;
    vertical-align: middle;
}

/* ------------------------------------------------------------------ */
/* Page frame                                                          */
/* ------------------------------------------------------------------ */

.storefront #wrapper {
    width: 1000px;
    margin: 0;
    background: #fff;
}

.storefront #main {
    width: 946px;
    margin: 0 auto;
}

.storefront #content {
    width: 1000px;
    margin: 0 0 0 -11px;
    padding: 45px 0 0 22px;
    overflow: hidden;
    background: #fff url('/storefront/images/theme/bg-content.gif') 0 0 / 1021px 149px repeat-y;
}

/* The legacy header was a 1000 x 120 banner, positioned as the legacy
   theme had it. */
.storefront #header {
    position: relative;
    width: 1001px;
    height: 169px;
    overflow: hidden;
    background: #fff url('/storefront/images/theme/header.jpg') -22px 0 / 1022px 119px no-repeat;
}

.storefront #header .header {
    width: 873px;
    height: 90px;
    margin: 22px 0 0;
    padding: 0 35px 0 38px;
}

/* The search box, in the top left of the banner as the legacy store
   had it. */
.storefront #header .search {
    width: 249px;
}

.storefront #header .search div {
    width: 249px;
    overflow: hidden;
}

.storefront #header .search input {
    float: left;
}

.storefront #header .search .text {
    width: 169px;
    margin: 2px 6px 0 0;
    padding: 1px 10px 2px;
    border: 1px solid #404040;
    border-right-color: #d4d0c8;
    border-bottom-color: #d4d0c8;
    background: #fff;
    color: #6a9738;
    font: 11px/16px arial, helvetica, sans-serif;
}

.storefront #header .search input[type="image"] {
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
}

.storefront #header .search .black_bold_text_spaced {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 17px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/* The navigation, as the legacy theme had it: the first item is pulled
   back to the left and the rest follow it. */
.storefront #menu {
    width: 968px;
    height: 50px;
    margin: -8px 0 0 -14px;
    padding: 0 0 0 340px;
    overflow: visible;
    list-style: none;
    background: #eef3f6 url('/storefront/images/theme/bg-nav.jpg') -1px -1px / 1081px 50px repeat-x;
}

.storefront #menu li {
    float: left;
    margin-left: 2px;
    padding: 10px 12px;
    background: url('/storefront/images/theme/separator01.gif') no-repeat;
}

.storefront #menu li:first-child {
    margin-left: -335px;
    padding-left: 335px;
    background: none;
}

.storefront #menu li.last {
    background: none;
}

.storefront #menu li a {
    float: left;
    padding: 0 4px;
    color: #68209f;
    font: bold 13px/16px arial, helvetica, sans-serif;
}

.storefront .columns {
    width: var(--ss-width);
    margin-left: 0;
    padding: 0;
    overflow: hidden;
}

.storefront .column1 {
    float: left;
    width: 219px;
    padding: 0 4px 0 14px;
}

.storefront .column2 {
    float: left;
    width: 503px;
    padding: 0 4px 0 0;
}

/* The right-hand column. The legacy theme used the same class for
   both sidebars, so the box frames apply to it as well — and it
   keeps the same padding. */

.storefront .float_assist {
    clear: both;
    height: 1px;
    overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Sidebar boxes                                                       */
/* ------------------------------------------------------------------ */

.storefront .column1 .box {
    width: 204px;
    overflow: hidden;
    margin-bottom: 5px;
}

.storefront .column1 .heading {
    width: 204px;
    overflow: hidden;
    background: var(--ss-teal-dark) url('/storefront/images/theme/heading-bg.gif') no-repeat;
}

.storefront .column1 .heading div {
    width: 170px;
    padding: 9px 11px 0 23px;
    height: 24px;
    overflow: hidden;
    background: url('/storefront/images/theme/heading-span.gif') no-repeat 100% 0;
}

.storefront .column1 .heading div h2 {
    margin: 0;
    color: #fff;
    font: bold 11px/14px arial, helvetica, sans-serif;
}

/* The frames are drawn by the theme's own images, as the legacy theme
   drew them. */
.storefront .column1 .box-info {
    width: 204px;
    overflow: hidden;
    background: #fff;
}

.storefront .column1 .cart2 .box-info {
    background: #fff url('/storefront/images/theme/box1-bg.gif') repeat-y;
}

.storefront .column1 .category .box-info,
.storefront .column1 .newsletter .box-info {
    background: #fff url('/storefront/images/theme/box2-bg.gif') repeat-y;
}

.storefront .column1 .cart2 .box-bg {
    background: url('/storefront/images/theme/box1-top.gif') no-repeat;
}

.storefront .column1 .category .box-bg,
.storefront .column1 .newsletter .box-bg {
    background: url('/storefront/images/theme/box2-top.gif') no-repeat;
}

.storefront .column1 .box-text {
    overflow: hidden;
}

.storefront .column1 .cart2 .box-text {
    width: 162px;
    padding: 8px 21px;
    min-height: 35px;
    background: url('/storefront/images/theme/box1-foot.gif') no-repeat 0 100%;
}

.storefront .column1 .category .box-text {
    width: 164px;
    padding: 13px 20px 10px;
    min-height: 83px;
    background: url('/storefront/images/theme/box2-foot.gif') no-repeat 0 100%;
}

.storefront .column1 .newsletter .box-text {
    width: 162px;
    padding: 11px 21px 0;
    min-height: 85px;
    background: url('/storefront/images/theme/box2-foot.gif') no-repeat 0 100%;
}

.storefront .column1 .category .box-text ul {
    width: 164px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.storefront .column1 .category .box-text ul li {
    width: 153px;
    padding: 0 0 0 11px;
    background: url('/storefront/images/theme/arrow01.gif') no-repeat 0 4px;
}

.storefront .column1 .category .box-text ul li a {
    font: 12px/14px arial, helvetica, sans-serif;
    color: var(--ss-muted);
}

.storefront .column2 a.side_link {
    color: #000;
    text-decoration: underline;
}

.storefront .column1 .category .box-text ul li.sub a {
    padding-left: 22px;
    font-size: 11px;
}

.storefront .column1 .cart2 .box-text p {
    margin: 0;
    color: var(--ss-teal-dark);
    font: 11px/14px arial, helvetica, sans-serif;
}

.storefront .column1 .newsletter .sign {
    width: 137px;
    overflow: hidden;
}

.storefront .column1 .newsletter .sign div {
    width: 137px;
    padding: 0 0 9px;
    overflow: hidden;
}

.storefront .column1 .newsletter .sign input {
    float: right;
    margin-bottom: 10px;
}

.storefront .column1 .newsletter .sign input[type="email"] {
    float: left;
    width: 130px;
}

.storefront .column1 .newsletter .sign input[type="submit"] {
    float: right;
}

.storefront .newsletter-status {
    clear: both;
    color: var(--ss-green-dark);
    font-size: 10px;
}

.storefront .column1 .newsletter .sign label {
    display: block;
    color: #278a9c;
    font: 11px/14px arial, helvetica, sans-serif;
}

.storefront .sale_item {
    display: block;
    text-align: center;
}

.storefront .tile_price {
    color: var(--ss-price);
    font: bold 11pt arial, helvetica, sans-serif;
}

.storefront .short_form_row div,
.storefront .short_form_row input,
.storefront .short_form_row select {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.storefront .short_form_row {
    clear: both;
}

.storefront .short_form_row input {
    width: 75px;
}

.storefront .short_form_row div {
    width: 60px;
    padding-top: 3px;
}

/* ------------------------------------------------------------------ */
/* Content column                                                      */
/* ------------------------------------------------------------------ */

.storefront .column2 .heading {
    width: 503px;
    overflow: hidden;
    background: var(--ss-teal-dark) url('/storefront/images/theme/heading-bg.gif') no-repeat;
}

.storefront .column2 .heading div {
    width: 469px;
    padding: 9px 11px 0 23px;
    height: 24px;
    overflow: hidden;
    background: url('/storefront/images/theme/heading-span.gif') no-repeat 100% 0;
}

.storefront .column2 .heading div h2 {
    margin: 0;
    color: #fff;
    font: bold 11px/14px arial, helvetica, sans-serif;
}

.storefront .search {
    float: left;
    width: 249px;
    margin: 8px 0 0;
}

.storefront .search input:not([type="image"]) {
    float: left;
    padding: 2px;
    font: 11px arial, sans-serif;
}

.storefront .list_top,
.storefront .list_bottom {
    overflow: hidden;
    padding: 3px;
    border-top: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
    background: #f0f0f0;
}

.storefront .list_top .sortby {
    float: left;
    padding-top: 4px;
}

.storefront .list_top .paging {
    float: right;
    margin-right: 10px;
}

.storefront .category_description {
    padding: 6px 4px;
    font: 11px/15px arial, sans-serif;
}

.storefront .list_top select {
    font: 11px arial, sans-serif;
    vertical-align: middle;
}

.storefront .category-list-controls {
    margin-top: 24px;
}

.storefront .category-list-controls + .category-list-controls {
    margin-top: 4px;
}

.storefront .products .list_item {
    padding: 5px 0;
    background: #fff;
}

.storefront .storefront-home-banner {
    width: 503px;
    height: 35px;
    margin-bottom: 10px;
    background: #e6f2f5 url('/storefront/images/theme/box3-bg.gif') repeat-y;
}

.storefront .products .items {
    border: 1px solid var(--ss-border);
    margin-top: 5px;
    padding: 5px;
    background: #fff url('/storefront/images/theme/bg_items.gif') bottom left repeat-x;
}

.storefront .products .items table {
    width: 100%;
    border-collapse: collapse;
}

.storefront .products .items .photo {
    width: 20%;
    text-align: center;
}

/* The thumbnails are 100 x 100, but a picture that is larger than
   that must not push the grid apart. */
.storefront .products .items .photo img {
    max-width: 100px;
    height: auto;
}

.storefront .products .items .info {
    width: 80%;
}

.storefront .products .items .info .title,
.storefront .product_title_link {
    color: #000;
    font: bold 12px/16px arial, helvetica, sans-serif;
    text-decoration: underline;
}

.storefront .product_title_link:hover {
    color: #fd6601;
}

.storefront .products .items .desc {
    padding: 5px 0;
    color: #666;
}

.storefront .img_style {
    padding: 7px;
}

/* The products with no image. The legacy theme rendered a broken
   <img src="images/products/"> for these; this is the clean version. */
.storefront .img_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 6px;
    border: 1px solid var(--ss-border);
    background: #f4f8fa;
    color: #8aa5ad;
    font: 10px/12px arial, helvetica, sans-serif;
    text-align: center;
    word-wrap: break-word;
}

.storefront .img_placeholder_large {
    width: 180px;
    height: 250px;
    font-size: 12px;
}

.storefront .small_txt {
    font-size: 10px;
}

.storefront .price {
    float: left;
    margin-right: 10px;
    color: var(--ss-price);
    font: bold 14pt arial, helvetica, sans-serif;
}

.storefront .product_price {
    color: #990000;
    font: bold 11px arial, sans-serif;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/*                                                                     */
/* The legacy theme drew these with two sprites each: a rounded cap on */
/* the left and the body on the right. They are used here rather than */
/* recreated.                                                          */
/* ------------------------------------------------------------------ */

.storefront .green_button {
    float: left;
    height: 21px;
    margin-right: 10px;
    padding-left: 7px;
    background: url('/storefront/images/theme/green_button_left.gif') no-repeat top left;
    color: #fff;
    font: bold 10px/21px arial, sans-serif;
}

.storefront .green_button input,
.storefront .green_button button,
.storefront .green_button a,
.storefront .green_button span {
    display: block;
    height: 21px;
    padding: 0 8px 3px 0;
    border: 0;
    margin: 0;
    background: url('/storefront/images/theme/green_button_bg.gif') top right no-repeat;
    color: #fff;
    font: bold 10px/18px arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.storefront .lime_button {
    float: left;
    height: 21px;
    margin-right: 10px;
    padding-left: 7px;
    background: url('/storefront/images/theme/lime_button_left.gif') no-repeat top left;
    color: #fff;
    font: bold 10px/21px arial, sans-serif;
}

.storefront .lime_button input,
.storefront .lime_button button,
.storefront .lime_button a,
.storefront .lime_button span {
    display: block;
    height: 21px;
    padding: 0 8px 3px 0;
    border: 0;
    margin: 0;
    background: url('/storefront/images/theme/lime_button_bg.gif') top right no-repeat;
    color: #fff;
    font: bold 10px/18px arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.storefront .green_button:hover,
.storefront .lime_button:hover {
    text-decoration: none;
    filter: brightness(1.08);
}

.storefront .green_button.disabled,
.storefront .lime_button.disabled {
    cursor: not-allowed;
    filter: grayscale(0.7) opacity(0.6);
}

/* ------------------------------------------------------------------ */
/* Paging (the legacy table-style pager)                                */
/* ------------------------------------------------------------------ */

.storefront .paging {
    float: right;
    margin-right: 10px;
    text-align: right;
}

.storefront .pages_border {
    border: 1px solid var(--ss-green);
    background-color: #fff;
    color: #000;
}

.storefront .pages_border td {
    padding: 0;
}

.storefront .pages_border a,
.storefront .pages_border td {
    display: inline-block;
    padding: 2px 4px;
    color: #000;
    font: 11px tahoma, verdana, sans-serif;
    white-space: nowrap;
    text-decoration: none;
}

.storefront .pages_border .navpageselected {
    background-color: #e5e5e5;
    font: 11px tahoma, verdana, sans-serif;
    padding: 2px 4px;
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

.storefront .pages_border .highlightpage {
    background-color: var(--ss-green);
    font: bold 11px tahoma, verdana, sans-serif;
    padding: 2px 4px;
    color: #fff;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Product detail                                                      */
/* ------------------------------------------------------------------ */

.storefront .product_detail table {
    width: 100%;
    border-collapse: collapse;
}

.storefront .product_detail .photo {
    width: 10%;
    text-align: center;
}

.storefront .product_detail .photo img {
    max-width: 250px;
    height: auto;
}

.storefront .product_detail .info {
    width: 90%;
}

.storefront .product_detail .product_title {
    font: bold 14px/18px arial, helvetica, sans-serif;
}

.storefront .product_detail .option {
    padding: 2px 0;
}

.storefront .product_detail .tabber {
    margin-top: 18px;
}

.storefront .product_detail .tabbertab {
    padding: 8px 0;
    border-top: 1px solid #e2e2e2;
}

.storefront .product_detail .tabbertab h2 {
    margin: 0 0 6px;
    color: var(--ss-teal);
    font: bold 12px/16px arial, helvetica, sans-serif;
}

.storefront .product-wishlist {
    margin-top: 8px;
    font-weight: bold;
}

.storefront .product-review-form {
    max-width: 360px;
    padding: 8px 4px;
}

.storefront .product-review-form label {
    display: block;
    margin: 7px 0 2px;
    font-weight: bold;
}

.storefront .product-review-form input,
.storefront .product-review-form textarea,
.storefront .product-review-form select {
    width: 100%;
    box-sizing: border-box;
}

.storefront .product-review-form textarea {
    min-height: 70px;
}

.storefront .black_bold_text_spaced {
    margin-top: 5px;
    color: #000;
    font-weight: bold;
    line-height: 17px;
    text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Sub-category table (parent category pages)                          */
/* ------------------------------------------------------------------ */

.storefront .subcategories {
    width: 100%;
    border-collapse: collapse;
}

.storefront .subcategories td {
    width: 33%;
    padding: 2px 0;
    vertical-align: top;
}

.storefront .subcategories a {
    font: 12px/14px arial, helvetica, sans-serif;
    color: var(--ss-muted);
    text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Breadcrumbs, footer, misc                                           */
/* ------------------------------------------------------------------ */

.storefront .crumb {
    padding-bottom: 10px;
    font-size: 11px;
}

.storefront .crumb .sep {
    padding-left: 5px;
    font-weight: bold;
}

.storefront .home_link {
    background: url('/storefront/images/theme/home_icon.gif') no-repeat center left;
    padding-left: 20px;
    font-weight: bold;
    color: #000;
}

.storefront #footer {
    width: 946px;
    margin: 14px auto 0;
    padding: 24px 0 18px;
    overflow: hidden;
    background: #fff url('/storefront/images/theme/bg-footer.png') no-repeat;
    text-align: center;
    font-size: 11px;
    color: #555;
}

.storefront #footer a {
    color: #555;
}

.storefront .flash {
    margin: 6px 0;
    padding: 6px 10px;
    border: 1px solid var(--ss-green);
    background: #f4fbe9;
}

.storefront .checkout_error {
    margin: 0 0 10px;
    padding: 7px 12px;
    border: 1px solid #f00;
    background: #fff;
    color: #333;
}

.storefront .checkout_error span {
    padding-right: 8px;
    color: #e00000;
}

.storefront .empty {
    padding: 20px 0;
    color: #666;
}

/* --- Checkout ----------------------------------------------------------- */

.storefront .checkout_columns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.storefront .checkout_details {
    flex: 1 1 380px;
}

.storefront .checkout_summary {
    flex: 0 1 320px;
    padding: 12px;
    border: 1px solid var(--ss-border);
    background: #fbfbfb;
}

.storefront .checkout_form h3 {
    margin: 14px 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #444;
}

.storefront .checkout_form label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    color: #555;
}

.storefront .checkout_form input[type="text"],
.storefront .checkout_form input[type="email"],
.storefront .checkout_form select,
.storefront .checkout_form textarea {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid var(--ss-border);
    font-size: 12px;
    box-sizing: border-box;
}

.storefront .checkout_form .error {
    color: #b00;
    font-size: 11px;
}

.storefront .checkout_items {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.storefront .checkout_items td {
    padding: 3px 0;
    vertical-align: top;
}

.storefront .checkout_items td.amount {
    text-align: right;
    white-space: nowrap;
}

.storefront .checkout_total {
    border-top: 1px solid var(--ss-border);
    padding-top: 6px;
    font-weight: bold;
}

.storefront .checkout_submit {
    padding: 7px 16px;
    border: 1px solid var(--ss-green);
    background: var(--ss-green);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.storefront .status {
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid var(--ss-green);
    background: #f4fbe9;
    font-size: 12px;
}

/* ------------------------------------------------------------------ */
/* The rules the legacy theme had and this one did not                */
/*                                                                     */
/* The product page, the tabs, the breadcrumbs and the small parts of  */
/* the cart and the login box.                                         */
/* ------------------------------------------------------------------ */

.storefront .crumb_link {
    padding-left: 5px;
    font-weight: bold;
    text-decoration: underline;
    color: #000;
}

.storefront .content {
    width: 490px;
    margin-bottom: 15px;
    padding: 5px;
}

.storefront .table_bottom {
    padding-top: 5px;
    text-align: center;
}

.storefront .product_title {
    color: #307fcf;
    font-size: 12px;
    font-weight: bold;
}

.storefront .product_option {
    width: 1%;
    padding-right: 10px;
    font-weight: bold;
}

.storefront .input_box {
    padding-right: 2px;
    padding-left: 2px;
}

.storefront .larger_view {
    padding-left: 13px;
    background: url('/storefront/images/theme/enlarge.gif') no-repeat center left;
    font-size: 10px;
    text-decoration: none;
}

.storefront .add_wishlist {
    padding-left: 15px;
    background: url('/storefront/images/theme/little_arrow.gif') no-repeat center left;
    font-size: 11px;
    text-decoration: none;
}

/* The tabs on the product page. The legacy theme drew them with a
   green border and a white selected tab. */
.storefront .tabbernav {
    margin: 0;
    padding: 3px 0;
    border-bottom: 1px solid var(--ss-green);
    font: bold 11px arial, helvetica, sans-serif;
}

.storefront .tabbernav li {
    display: inline;
    margin: 0;
    list-style: none;
}

.storefront .tabbernav li a {
    margin-left: 3px;
    padding: 3px 0.5em;
    border: 1px solid var(--ss-green);
    border-bottom: none;
    background: var(--ss-green);
    color: #fff;
}

.storefront .tabbernav li.tabberactive a {
    border-bottom: 1px solid #fff;
    background: #fff;
    color: #000;
}

.storefront .tabberlive .tabbertab[hidden] {
    display: none;
}

.storefront .tabberlive .tabbertab {
    padding: 15px;
    border: 1px solid var(--ss-green);
    border-top: 0;
}

.storefront .tabberlive .tabbertab h2 {
    display: none;
}

/* ------------------------------------------------------------------ */
/* The marketing pages                                                 */
/* ------------------------------------------------------------------ */

.storefront .site_page_content {
    padding: 4px 0 20px;
    color: #000;
    font-size: 12px;
    line-height: 1.5;
}

.storefront .site_page_content h1,
.storefront .site_page_content h2,
.storefront .site_page_content h3 {
    margin: 14px 0 4px;
    color: #000;
    font-size: 13px;
    text-align: center;
}

.storefront .site_page_content h2 {
    font-size: 16px;
}

.storefront .site_page_content p {
    margin: 6px 0;
    text-align: justify;
}

.storefront .site_page_content ul,
.storefront .site_page_content ol {
    margin: 6px 0 6px 18px;
}

.storefront .site_page_content table {
    width: 100%;
    border-collapse: collapse;
}

.storefront .site_page_content td,
.storefront .site_page_content th {
    padding: 3px 5px;
    vertical-align: top;
}

.storefront .site_page_content img {
    max-width: 100%;
    height: auto;
}

.storefront .site_page_content a {
    color: #3f9cad;
}

/* ------------------------------------------------------------------ */
/* Fidelity pass: utility classes from the legacy theme                */
/* ------------------------------------------------------------------ */

.storefront .clear {
    clear: both;
}

.storefront .center {
    text-align: center;
}

.storefront .right_align {
    text-align: right;
}

.storefront .left {
    float: left;
}

.storefront .right {
    float: right;
}

.storefront .cart {
    background: #ffffff;
}

.storefront .cart th {
    text-align: center;
    font-weight: bold;
    color: #000000;
}

.storefront .cart td {
    border-top: dotted #c1c1c1 1px;
    border-bottom: dotted #c1c1c1 1px;
    color: #000000;
}

.storefront .cart .cart-shipping-row {
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

.storefront .cart .cart-shipping-row > span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.storefront .cart .cart-shipping-row .lime_button {
    display: inline-block;
    float: none;
}

.storefront .cart .cart-actions-row {
    border-bottom: 0;
    text-align: right;
}

.storefront .cart-action-group {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: flex-end;
}

.storefront .cart-action-primary,
.storefront .cart-action-checkout {
    display: flex;
    justify-content: flex-end;
    min-height: 22px;
}

.storefront .cart-coupon {
    float: left;
    width: 225px;
    min-height: 45px;
    margin-top: 8px;
    padding: 5px;
    border: 1px solid #b6b6b6;
}

.storefront .cart-coupon input {
    width: 115px;
}

.storefront .cart-coupon .lime_button {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

.storefront .advanced-search-content {
    padding: 6px 3px;
}

.storefront .advanced-search-content table {
    border-collapse: collapse;
}

.storefront .advanced-search-content td {
    padding: 3px 2px;
    vertical-align: top;
}

.storefront .advanced-search-content td:first-child {
    width: 80px;
}

.storefront .advanced-search-content select {
    max-width: 100%;
}

.storefront .account-existing-login {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 35px;
    margin: 0 0 12px;
    padding: 4px 8px;
    border: 1px solid #e00000;
}

.storefront .account-existing-login input {
    width: 145px;
}

.storefront .account-existing-login .green_button {
    float: none;
    margin-left: 4px;
}

.storefront .account-existing-login .green_button button {
    min-width: 55px;
}

.storefront .account-section {
    margin: 12px 0 16px;
}

.storefront .account-fields {
    width: 276px;
}

.storefront .account-fields td {
    padding: 0 3px;
    vertical-align: middle;
}

.storefront .account-fields td:first-child {
    width: 95px;
    text-align: right;
}

.storefront .account-fields input:not([type="checkbox"]) {
    width: 158px;
    height: 18px;
    padding-top: 0;
    padding-bottom: 0;
}

.storefront .account-fields select {
    min-width: 158px;
    height: 18px;
}

.storefront .account-fields td:last-child {
    color: #b70407;
}

.storefront .same-address {
    display: block;
    padding: 5px 8px;
}

.storefront .account-verification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 8px;
}

.storefront .captcha-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 290px;
    height: 76px;
    padding: 12px;
    border: 1px solid #d2d2d2;
    background: #fafafa;
}

.storefront .captcha-placeholder small {
    margin-left: auto;
    color: #777;
}

.storefront .account-submit {
    margin: 4px 0 16px;
    padding-left: 10px;
}

.storefront .password-reminder-form {
    padding: 8px 5px;
}

.storefront .password-reminder-form label {
    display: inline-block;
    width: 90px;
    vertical-align: middle;
}

.storefront .password-reminder-form input {
    width: 260px;
    margin: 3px 0;
}

.storefront .password-reminder-form .green_button {
    float: none;
    margin: 7px 0 0 90px;
}

.storefront .product_sku {
    font-size: 10px;
    margin-bottom: 10px;
}

.storefront .product_strikethru {
    text-decoration: line-through;
}

.storefront .tile_item {
    text-align: center;
}

.storefront .tile_image {
    margin-bottom: 5px;
}

.storefront .tile_table {
    background: #ffffff;
    width: 100%;
}

.storefront .tile_table td {
    vertical-align: top;
}

.storefront .list_item_bottom_border {
    border-bottom: solid #cacaca 1px;
}

.storefront .search_results {
    margin-left: 10px;
    float: left;
    text-align: center;
    font-size: 12px;
    color: #000000;
}

.storefront .search_bb {
    font-size: 12px;
    font-weight: bold;
    color: #000000;
}

.storefront .small {
    font-size: 10px;
}
